ChestnutCMS
CVE-2025-15009
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid ChestnutCMS credentials
-
DeliveryAuthenticate to /dev-api/common/upload endpoint
-
ExploitCraft request with manipulated File argument
-
ExecutionBypass filename extension validation
-
PersistUpload executable payload
-
ImpactExecute uploaded file via HTTP request
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires prior authentication to ChestnutCMS (PR:L in CVSS vector); the /dev-api/common/upload endpoint is not accessible to unauthenticated users. The attacker must have a valid user account with permissions to use the file upload feature. Additionally, the upload directory must be web-accessible and configured to execute or serve the uploaded file type (e.g., PHP, JSP) for the attack to achieve code execution - if uploads are restricted to read-only storage or served as downloads with appropriate Content-Disposition headers, the impact is reduced. The vulnerability is specific to the FilenameUtils.getExtension function's inability to handle manipulated filename arguments, implying the bypass may require specific filename patterns (double extensions, null bytes, or path traversal sequences) rather than completely arbitrary files. |
| Impact | Risk signals are mixed and suggest lower real-world impact than raw CVSS would indicate. The CVSS:4.0 vector shows network-accessible, low-complexity exploitation (AV:N/AC:L) with minimal confidentiality and integrity impact (VC:L/VI:L/VA:L) and limited scope. Critically, the vector mandates authentication (PR:L), meaning only authenticated users can exploit this - not remote unauthenticated attackers. EPSS at 0.06% (19th percentile) strongly suggests this vulnerability is not being systematically exploited in the wild despite public POC availability. This discrepancy between POC existence and low EPSS exploitation probability indicates the vulnerability targets a specific, likely narrow set of deployments or requires additional preconditions (e.g., specific ChestnutCMS configurations or user roles). The 'E:P' flag (Exploit Published) confirms POC availability. Combined, this is a *proof-of-concept-stage vulnerability* affecting an authenticated upload function with low actual exploitation pressure - appropriate for patching but not an immediate emergency for most organizations running ChestnutCMS. |
| Exploit ScenarioDerived | An authenticated user or attacker with valid credentials accesses the ChestnutCMS /dev-api/common/upload endpoint and crafts a malicious HTTP request with a manipulated File argument designed to bypass the FilenameUtils.getExtension validation. By crafting a filename or file parameter with a double extension (e.g., 'shell.php.jpg') or null-byte injection, the attacker uploads a PHP web shell or other executable payload that bypasses extension checks. Once uploaded, the attacker accesses the uploaded file via the web server, achieving code execution if the upload directory is web-accessible and executable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
ChestnutCMS up to version 1.5.8 allows authenticated remote attackers to upload arbitrary files by manipulating the File argument in the FilenameUtils.getExtension function of the /dev-api/common/upload endpoint. The vulnerability bypasses filename extension validation in the Filename Handler component, enabling unrestricted file uploads with low integrity and confidentiality impact. Publicly available exploit code exists; however, the low EPSS score (0.06%) and requirement for prior authentication significantly limit real-world exploitation risk compared to the CVSS base score.
RemediationAI
Update ChestnutCMS to a version newer than 1.5.8 that includes fixes to filename extension validation in the FilenameUtils.getExtension function - consult the vendor (1000mz) or project repository for the exact patched version, as no specific fix version is confirmed in available references. As an interim workaround, disable or restrict access to the /dev-api/common/upload endpoint via Web Application Firewall (WAF) rules or reverse proxy configuration, allowing uploads only from trusted internal systems if file upload is essential. Alternatively, implement strict file type validation at the application level by whitelisting only permitted file extensions and validating MIME types, and restrict write permissions on the upload directory to prevent execution of uploaded files. Monitor authentication logs for suspicious file uploads by users with unusual upload patterns. Note that disabling the endpoint may impact legitimate application functionality; coordinate with application owners before applying.
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
ChestnutCMS uses a filename extension validation mechanism via the FilenameUtils.getExtension function in its file upload handler component (/dev-api/common/upload). The vulnerability stems from improper input validation when processing the File argument, allowing attackers to bypass intended filename restrictions. CWE-284 (Improper Access Control) indicates the root cause is insufficient authorization or validation logic governing which file types or extensions are permitted. The attack surface is the authenticated API endpoint for file uploads, which does not properly sanitize or validate the filename extension before processing the upload.
Know when Chestnutcms 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A flaw has been found in liweiyi ChestnutCMS up to 1.5.8. This vulnerability affects the function FilenameUtils.getExtension of the file /dev-api/common/upload of the component Filename Handler. Executing manipulation of the argument File can lead to unrestricted upload. The attack may be launched remotely. The exploit has been published and may be used.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)CVE.org
More in Chestnutcms
View allAn issue in ChestnutCMS v.1.5.8 and before allows a remote attacker to execute arbitrary code via the template creation
A vulnerability was found in ChestnutCMS up to 15.1. It has been declared as critical. This vulnerability affects unknow
A vulnerability, which was classified as problematic, was found in ChestnutCMS up to 1.5.3. Rated medium severity (CVSS
A vulnerability classified as critical has been found in ChestnutCMS up to 1.5.2. Rated medium severity (CVSS 5.3), this
A vulnerability classified as problematic was found in ChestnutCMS 1.5.2. Rated medium severity (CVSS 5.1), this vulnera
A vulnerability was determined in liweiyi ChestnutCMS up to 1.5.8. Rated medium severity (CVSS 5.1), this vulnerability
ChestnutCMS <=1.5.0 has a directory traversal vulnerability in contentcore.controller.FileController#getFileList, which
ChestnutCMS <=1.5.0 has an arbitrary file deletion vulnerability in contentcore.controller.FileController, which allows
ChestnutCMS <=1.5.0 is vulnerable to File Upload via the Create template function. Rated critical severity (CVSS 9.8), t
File Upload vulnerability in ChestnutCMS through 1.5.0. Rated critical severity (CVSS 9.8), this vulnerability is remote
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB