PerfreeBlog
CVE-2025-60729
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP request to theme endpoint
-
DeliveryInject path traversal sequence into file path parameter
-
ExploitBypass validThemeFilePath sanitization
-
ExecutionServer reads file outside web root
-
ImpactAttacker receives arbitrary file contents
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer over-read prevention
|
| Exploitation Conditions | The vulnerability requires that PerfreeBlog v4.0.11 is accessible over a network, with no authentication, no user interaction, and default configuration - the CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates no special setup is required beyond the application being reachable. The specific attack surface is the validThemeFilePath function, which implies the theme management or file-serving functionality must be enabled, though this appears to be default behavior for a blog platform. Exploitation is limited to reading files accessible to the OS user running the PerfreeBlog process; files outside that user's read permissions cannot be accessed. The impact is also bounded by the application's deployment topology: if sensitive configuration files (database credentials, secrets) reside outside the application root, the practical confidentiality impact may remain low. |
| Impact | The CVSS 3.1 base score of 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) reflects network-accessible, unauthenticated exploitation with limited confidentiality impact. The network vector and absence of authentication requirements elevate concern, but the C:L rating caps severity under the assumption that file access is constrained. A significant signal conflict exists: a public POC is available (raising practical exploitability) yet EPSS is only 0.33% at the 25th percentile, suggesting the exploit has not attracted broad automated or targeted use at the time of analysis. KEV status is absent, confirming no confirmed active exploitation. For deployments where PerfreeBlog serves content from a server with sensitive files co-located (database credentials, environment files, SSH keys), the real-world confidentiality impact could exceed the C:L rating - defenders should assess their specific deployment layout. Overall, this is a moderate-priority issue for organizations running PerfreeBlog 4.0.11: not an emergency, but the POC lowers the bar for opportunistic exploitation. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP request to the PerfreeBlog theme file endpoint, embedding a path traversal sequence (e.g., ../../etc/passwd or ../../WEB-INF/web.xml) as the filename parameter processed by validThemeFilePath. Because the function fails to properly sanitize or canonicalize the input path, the server returns the contents of the targeted file. A public POC documents this technique against version 4.0.11, making reproduction trivial for any attacker with access to the HTTP interface. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Arbitrary file read in PerfreeBlog v4.0.11 allows unauthenticated remote attackers to read files outside the intended web root by bypassing path validation in the validThemeFilePath function. The vulnerability is network-exploitable with no authentication or user interaction required, and a public proof-of-concept is documented on GitHub. No active exploitation has been confirmed by CISA KEV, and the EPSS score of 0.33% suggests limited observed exploitation activity despite the POC's existence.
RemediationAI
No vendor-released patch has been identified at the time of analysis - no fixed version number appears in the available reference data. The NVD reference points to a researcher-authored PoC document at the GitHub repository (https://github.com/dengxmenglihua/cve/blob/main/PerfreeBlog/File%20Read/Arbitrary%20File%20Read%20Vulnerability%20in%20PerfreeBlog%20System.md) and the vendor site (https://perfree.org.cn/), but no patched release is cited. Administrators should check the official Perfree release page for updates beyond 4.0.11. As an immediate compensating control, restrict network access to theme file serving endpoints at the reverse proxy or WAF layer, blocking path traversal patterns (../, %2e%2e, URL-encoded variants) in file path parameters. Additionally, run the PerfreeBlog application process under a dedicated low-privilege OS user with filesystem access scoped strictly to the web root and theme directories, limiting the blast radius of a successful read. Disabling the theme file preview or upload functionality if not operationally required eliminates the attack surface entirely. Trade-off: WAF rules may produce false positives on legitimate theme file requests using non-standard path structures.
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 Java-based blogging platform developed by Perfree (perfree.org.cn), identified via CPE cpe:2.3:a:perfree:perfreeblog:4.0.11. The vulnerability resides in the validThemeFilePath function, which is responsible for validating file paths when serving theme-related assets. The assigned CWE is CWE-126 (Buffer Over-read), though this classification appears to be a mislabeling - the described impact (arbitrary file read via path validation bypass) is more consistent with CWE-22 (Path Traversal / Improper Limitation of a Pathname to a Restricted Directory). This discrepancy suggests NVD or reporter tagging error and should be treated as an informational inconsistency. The root cause is likely insufficient canonicalization or allowlist enforcement in the path validation routine, enabling directory traversal sequences (e.g., ../) to escape the intended theme file directory and access arbitrary server files.
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:N/UI:N/S:U/C:L/I:N/A:N
Network-exploitable path traversal with no auth or interaction; C:L reflects constrained file read scope absent evidence of unrestricted filesystem access.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
PerfreeBlog v4.0.11 has an arbitrary file read vulnerability in the validThemeFilePath function
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
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
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
Arbitrary file upload in PerfreeBlog v4.0.11 lets an authenticated attacker abuse the installTheme function to upload ma
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