PerfreeBlog
CVE-2025-60731
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to PerfreeBlog with low-privileged account
-
DeliveryAccess installTheme upload function
-
ExploitUpload malicious file disguised as theme
-
ExecutionServer stores file without validation
-
PersistRequest uploaded web shell
-
ImpactExecute arbitrary commands on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session (CVSS PR:L) with access to the theme-management/installTheme feature, which in most CMS deployments is an administrative or elevated capability - this is the primary limiting factor. The attack is otherwise network-reachable (AV:N), low-complexity (AC:L), and needs no user interaction (UI:N). The concrete prerequisite is the ability to invoke the installTheme upload function and reach the resulting uploaded file over HTTP; the target must be running the affected PerfreeBlog 4.0.11. There is no indication a non-default configuration is required, but access control on who may install themes directly determines who can exploit it. |
| Impact | The CVSS 3.1 base score is 7.6 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L), indicating a low-complexity network-reachable attack that requires only low-level authentication and no user interaction. The vendor-provided vector rates integrity and availability impact as Low, which under-represents the true risk: an arbitrary file upload that yields a web shell typically enables full code execution (High integrity and availability impact), so real-world severity is likely higher than 7.6 - verify against the actual upload sink. Counterbalancing signals are the low EPSS score (0.28%, 20th percentile), absence from CISA KEV, and the fact that exploitation requires a valid account with access to theme installation (usually an administrative or elevated function). Net assessment: a genuine, high-impact post-authentication flaw with public PoC, but not a mass-exploitation emergency - prioritize for any internet-exposed PerfreeBlog instance, especially where untrusted users can obtain accounts. |
| Exploit ScenarioDerived | An attacker with a low-privileged authenticated PerfreeBlog account (or one who has compromised such credentials) sends a crafted request to the installTheme function uploading a JSP/scripted 'theme' file rather than a valid theme archive. Because the file is not validated, it lands in a server-executable location, and the attacker then browses to it to execute commands and gain a web shell. A public PoC write-up demonstrating this flow already exists on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Arbitrary file upload in PerfreeBlog v4.0.11 lets an authenticated attacker abuse the installTheme function to upload malicious files (e.g. a web shell), typically resulting in server-side code execution and full compromise of the blog host. The flaw is a classic unrestricted-upload issue (CWE-434) reachable over the network by a low-privileged authenticated user; publicly available exploit code exists in the form of a GitHub write-up, though EPSS exploitation probability remains low (0.28%, 20th percentile) and it is not listed in CISA KEV.
RemediationAI
No vendor-released patch identified at time of analysis; the only vendor reference is the project homepage (https://perfree.org.cn/), so monitor it and the project's release channel for a fixed build after 4.0.11 and upgrade as soon as one is published. As compensating controls until a patch is available: restrict access to the theme-installation endpoint/installTheme function to trusted administrators only (tighten role permissions so ordinary authors cannot reach it), place the admin panel behind a VPN or IP allowlist to remove untrusted network reachability (trade-off: complicates legitimate remote administration), and enforce server-side validation or a WAF rule that blocks upload of executable extensions (.jsp, .jspx, .php, etc.) to the theme path (trade-off: may block legitimate theme packages containing such files). Additionally, configure the theme/upload directory as non-executable at the web-server layer to neutralize dropped web shells (trade-off: could break themes that rely on server-side scripts). Reference the PoC write-up above to build detection signatures for anomalous installTheme requests.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PerfreeBlog is a lightweight open-source (Java/Spring-based) blogging and content-management system maintained at perfree.org.cn, identified precisely by cpe:2.3:a:perfree:perfreeblog:4.0.11. The vulnerability lives in the installTheme function, which is intended to accept and deploy theme packages. Rooted in CWE-434 (Unrestricted Upload of File with Dangerous Type), the function fails to validate the type, extension, or content of uploaded files, so an attacker can supply an executable server-side payload instead of a legitimate theme archive. Because themes are unpacked into a web-accessible or server-executable location, an uploaded script can subsequently be invoked to run attacker-controlled code within the application's context.
Know when Perfreeblog gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Network-reachable low-complexity upload needing an authenticated account (PR:L); arbitrary file upload yields web-shell code execution, so C/I/A all High rather than the vendor's Low I/A.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
PerfreeBlog v4.0.11 has a File Upload vulnerability in the installTheme function
Executive ViewAI
PerfreeBlog v4.0.11 contains an arbitrary file upload vulnerability in the theme installation feature that allows low-privileged authenticated users to upload and execute malicious code on the hosting server, resulting in complete platform compromise. Organizations running this version risk unauthorized data access, system defacement, and lateral movement to connected infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict installTheme function access to administrative accounts only via role-based access control; (2) disable theme upload functionality if not operationally required; (3) implement Web Application Firewall rules to block suspicious file uploads and executable extensions; (4) enforce strict file type validation on all uploads; (5) monitor authentication logs for anomalous theme installation activity; (6) segment PerfreeBlog instances from critical systems and databases.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)CVE.org
More in Perfreeblog
View allAn arbitrary file upload vulnerability in the component /admin/ThemeController.java of PerfreeBlog v3.1.2 allows attacke
An arbitrary file upload vulnerability in the /admin/user/uploadImg component of PerfreeBlog v3.1.1 allows attackers to
In PerfreeBlog version 4.0.11, regular users can exploit the arbitrary file upload vulnerability in the attach component
Arbitrary file deletion in PerfreeBlog 4.0.11 lets attackers remove files outside the intended theme directory by abusin
An issue in Perfree PerfreeBlog v.3.1.2 allows a remote attacker to execute arbitrary code via crafted plugin listed in
Cross Site Scripting (XSS) vulnerability in PerfreeBlog 3.1.2 allows attackers to execute arbitrary code via the Post fu
Arbitrary file read in PerfreeBlog v4.0.11 allows unauthenticated remote attackers to read files outside the intended we
Stored cross-site scripting vulnerability exists in PerfreeBlog v4.0.11 in the website name field of the backend system
Arbitrary file upload in PerfreeBlog 4.0.11 lets an authenticated user abuse the installPlugin function to upload malici
Server-side request forgery in PerfreeBlog 4.0.11 allows whoever can reach the uploadAttachByUrl handler in AttachContro
PerfreeBlog v4.0.11 has an arbitrary file read vulnerability in the getThemeFileContent function. Rated high severity (C
PerfreeBlog v4.0.11 has a directory traversal vulnerability in the getThemeFilesByName function. Rated high severity (CV
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB