CVE-2024-56828
CVE-2024-56828 is a critical-severity vulnerability in 1000mz Chestnutcms with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-434.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-53439
- Weakness: CWE-434
- Affected product: 1000mz Chestnutcms
- Published:
- Last modified:
Description
File Upload vulnerability in ChestnutCMS through 1.5.0. Based on the code analysis, it was determined that the /api/member/avatar API endpoint receives a base64 string as input. This string is then passed to the memberService.uploadAvatarByBase64 method for processing. Within the service, the base64-encoded image is parsed. For example, given a string like: data:image/html;base64,PGh0bWw+PGltZyBzcmM9eCBvbmVycm9yPWFsZXJ0KDEpPjwvaHRtbD4= the content after the comma is extracted and decoded using Base64.getDecoder().decode(). The substring from the 11th character up to the first occurrence of a semicolon (;) is assigned to the suffix variable (representing the file extension). The decoded content is then written to a file. However, the file extension is not validated, and since this functionality is exposed to the frontend, it poses significant security risks.
Frequently asked questions
- What is CVE-2024-56828?
- File Upload vulnerability in ChestnutCMS through 1.5.0. Based on the code analysis, it was determined that the /api/member/avatar API endpoint receives a base64 string as input. This string is then passed to the memberService.uploadAvatarByBase64 method for processing. Within the service, the base64-encoded image is parsed. For example, given a string like: data:image/html;base64,PGh0bWw+PGltZyBzcmM9eCBvbmVycm9yPWFsZXJ0KDEpPjwvaHRtbD4= the content after the comma is extracted and decoded using Base64.getDecoder().decode(). The substring from the 11th character up to the first occurrence of a semicolon (;) is assigned to the suffix variable (representing the file extension). The decoded content is then written to a file. However, the file extension is not validated, and since this functionality is exposed to the frontend, it poses significant security risks.
- How severe is CVE-2024-56828?
- CVE-2024-56828 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-56828 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-56828?
- CVE-2024-56828 affects 1000mz Chestnutcms. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-56828?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-56828 have an EU (EUVD) identifier?
- Yes. CVE-2024-56828 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-53439.
- When was CVE-2024-56828 published?
- CVE-2024-56828 was published on 2025-01-06 and last updated on 2026-06-17.
References
- https://gitee.com/liweiyi/ChestnutCMS
- https://github.com/Zerone0x00/CVE/blob/main/ChestnutCMS/CVE-2024-56828.md
- https://www.1000mz.com/
Affected products (1)
- cpe:2.3:a:1000mz:chestnutcms:*:*:*:*:*:*:*:*
More vulnerabilities in 1000mz Chestnutcms
- CVE-2024-57450 — Critical (CVSS 9.8): ChestnutCMS <=1.5.0 is vulnerable to File Upload via the Create template function.
- CVE-2024-57451 — High (CVSS 7.5): ChestnutCMS <=1.5.0 has a directory traversal vulnerability in contentcore.controller.FileController#getFileList, which…
- CVE-2024-57452 — High (CVSS 7.5): ChestnutCMS <=1.5.0 has an arbitrary file deletion vulnerability in contentcore.controller.FileController, which allows…
- CVE-2025-70073 — High (CVSS 7.2): An issue in ChestnutCMS v.1.5.8 and before allows a remote attacker to execute arbitrary code via the template creation…
- CVE-2025-15009 — Medium (CVSS 6.3): A flaw has been found in liweiyi ChestnutCMS up to 1.5.8. This vulnerability affects the function…
- CVE-2025-5552 — Medium (CVSS 6.3): A vulnerability was found in ChestnutCMS up to 15.1. It has been declared as critical. This vulnerability affects…
All CVEs affecting 1000mz Chestnutcms →
Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities
- CVE-2026-48283 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-48276 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-57700 — Critical (CVSS 10.0): Unrestricted Upload of File with Dangerous Type vulnerability in Daan.Dev OMGF Pro allows Using Malicious Files. This…
- CVE-2025-69129 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in WordPress & WooCommerce Scraper Plugin, Import Data from Any Site <= 1.0.7…
- CVE-2026-40772 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in GeekyBot <= 1.2.2 versions.
- CVE-2026-40412 — Critical (CVSS 10.0): Unrestricted upload of file with dangerous type in Azure Orbital Spatio allows an unauthorized attacker to execute code…
Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →