{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-56828","published":"2025-01-06T18:15:23.467000Z","last_modified":"2026-06-17T08:13:01.600000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-434"],"cpes":[{"criteria":"cpe:2.3:a:1000mz:chestnutcms:*:*:*:*:*:*:*:*","part":"a","vendor":"1000mz","product":"chestnutcms","version_end_including":"1.5.0"}],"cpes_truncated":false,"vendors":["1000mz"],"products":["1000mz/chestnutcms"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"epss":{"score":0.01224,"percentile":0.68773,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2024-56828/","html_en":"/en/cve/CVE-2024-56828/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-56828","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-56828"},"untrusted":{"vendor_name":"1000mz","product_name":"Chestnutcms","desc_en":"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.","affected":[],"references":[{"url":"https://gitee.com/liweiyi/ChestnutCMS","tags":["Product"]},{"url":"https://github.com/Zerone0x00/CVE/blob/main/ChestnutCMS/CVE-2024-56828.md","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.1000mz.com/","tags":["Product"]}]}}