Skip to main content

PerfreeBlog CVE-2025-60731

HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2025-10-24 cve@mitre.org
7.6
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to PerfreeBlog with low-privileged account
  2. Delivery
    Access installTheme upload function
  3. Exploit
    Upload malicious file disguised as theme
  4. Execution
    Server stores file without validation
  5. Persist
    Request uploaded web shell
  6. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 7.6 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

DescriptionCVE.org

PerfreeBlog v4.0.11 has a File Upload vulnerability in the installTheme function

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche open-source Chinese blog CMS, limited enterprise footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Affected Products (CPE)CVE.org

cpe:2.3:a:perfree:perfreeblog:4.0.11:*:*:*:*:*:*:*
CVE-2023-30333 CRITICAL POC
9.8 May 18

An arbitrary file upload vulnerability in the component /admin/ThemeController.java of PerfreeBlog v3.1.2 allows attacke

CVE-2023-27757 CRITICAL POC
9.8 Mar 15

An arbitrary file upload vulnerability in the /admin/user/uploadImg component of PerfreeBlog v3.1.1 allows attackers to

CVE-2025-29281 HIGH POC
8.8 Apr 15

In PerfreeBlog version 4.0.11, regular users can exploit the arbitrary file upload vulnerability in the attach component

CVE-2025-60730 HIGH POC
7.6 Oct 24

Arbitrary file deletion in PerfreeBlog 4.0.11 lets attackers remove files outside the intended theme directory by abusin

CVE-2023-40825 HIGH POC
7.2 Aug 28

An issue in Perfree PerfreeBlog v.3.1.2 allows a remote attacker to execute arbitrary code via crafted plugin listed in

CVE-2023-29643 MEDIUM POC
5.4 May 01

Cross Site Scripting (XSS) vulnerability in PerfreeBlog 3.1.2 allows attackers to execute arbitrary code via the Post fu

CVE-2025-60729 MEDIUM POC
5.3 Oct 24

Arbitrary file read in PerfreeBlog v4.0.11 allows unauthenticated remote attackers to read files outside the intended we

CVE-2025-29280 MEDIUM POC
4.8 Apr 15

Stored cross-site scripting vulnerability exists in PerfreeBlog v4.0.11 in the website name field of the backend system

CVE-2025-60735 HIGH
7.6 Oct 24

Arbitrary file upload in PerfreeBlog 4.0.11 lets an authenticated user abuse the installPlugin function to upload malici

CVE-2025-60319 MEDIUM
6.5 Oct 30

Server-side request forgery in PerfreeBlog 4.0.11 allows whoever can reach the uploadAttachByUrl handler in AttachContro

CVE-2025-29421 HIGH POC
7.5 Aug 25

PerfreeBlog v4.0.11 has an arbitrary file read vulnerability in the getThemeFileContent function. Rated high severity (C

CVE-2025-29420 HIGH POC
7.5 Aug 25

PerfreeBlog v4.0.11 has a directory traversal vulnerability in the getThemeFilesByName function. Rated high severity (CV

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy