Skip to main content

ChestnutCMS CVE-2025-15009

LOW
Improper Access Control (CWE-284)
2025-12-22 cna@vuldb.com
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid ChestnutCMS credentials
  2. Delivery
    Authenticate to /dev-api/common/upload endpoint
  3. Exploit
    Craft request with manipulated File argument
  4. Execution
    Bypass filename extension validation
  5. Persist
    Upload executable payload
  6. Impact
    Execute 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

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

Vendor (vuldb) PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 81% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

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

cpe:2.3:a:1000mz:chestnutcms:*:*:*:*:*:*:*:*
CVE-2025-70073 HIGH POC
7.2 Feb 05

An issue in ChestnutCMS v.1.5.8 and before allows a remote attacker to execute arbitrary code via the template creation

CVE-2025-5552 MEDIUM POC
6.3 Jun 04

A vulnerability was found in ChestnutCMS up to 15.1. It has been declared as critical. This vulnerability affects unknow

CVE-2025-2917 MEDIUM POC
5.3 Mar 28

A vulnerability, which was classified as problematic, was found in ChestnutCMS up to 1.5.3. Rated medium severity (CVSS

CVE-2025-2031 MEDIUM POC
5.3 Mar 06

A vulnerability classified as critical has been found in ChestnutCMS up to 1.5.2. Rated medium severity (CVSS 5.3), this

CVE-2025-2032 MEDIUM POC
5.1 Mar 06

A vulnerability classified as problematic was found in ChestnutCMS 1.5.2. Rated medium severity (CVSS 5.1), this vulnera

CVE-2025-12923 LOW POC
2.0 Nov 10

A vulnerability was determined in liweiyi ChestnutCMS up to 1.5.8. Rated medium severity (CVSS 5.1), this vulnerability

CVE-2024-57451 HIGH POC
7.5 Feb 03

ChestnutCMS <=1.5.0 has a directory traversal vulnerability in contentcore.controller.FileController#getFileList, which

CVE-2024-57452 HIGH POC
7.5 Feb 03

ChestnutCMS <=1.5.0 has an arbitrary file deletion vulnerability in contentcore.controller.FileController, which allows

CVE-2024-57450 CRITICAL POC
9.8 Feb 03

ChestnutCMS <=1.5.0 is vulnerable to File Upload via the Create template function. Rated critical severity (CVSS 9.8), t

CVE-2024-56828 CRITICAL POC
9.8 Jan 06

File Upload vulnerability in ChestnutCMS through 1.5.0. Rated critical severity (CVSS 9.8), this vulnerability is remote

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