{"id":"CVE-2024-40520","aliases":["CVE-2024-40520"],"related":[],"kind":"vulnerability","state":"published","title":"SeaCMS 12.9 has a remote code execution vulnerability.","summary":"SeaCMS 12.9 has a remote code execution vulnerability. The vulnerability is caused by admin_config_mark.php directly splicing and writing the user input data into inc_photowatermark_config.php without processing it, which allows authenticated attackers to exploit the vulnerability to execute arbitrary commands and obtain system permissions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SeaCMS 12.9 has a remote code execution vulnerability. The vulnerability is caused by admin_config_mark.php directly splicing and writing the user input data into inc_photowatermark_config.php without processing it, which allows authenticated attackers to exploit the vulnerability to execute arbitrary commands and obtain system permissions.","source":"cvelist"},{"lang":"es","text":"SeaCMS 12.9 tiene una vulnerabilidad de ejecución remota de código. La vulnerabilidad se debe a que admin_config_mark.php empalma y escribe directamente los datos de entrada del usuario en inc_photowatermark_config.php sin procesarlos, lo que permite a atacantes autenticados explotar la vulnerabilidad para ejecutar comandos arbitrarios y obtener permisos del sistema.","source":"nvd"}],"published":"2024-07-12T00:00:00.000Z","modified":"2026-06-17T07:46:01.983Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"12.9","status":"affected"}],"vendor":"seacms","product":"seacms","cpe":"cpe:2.3:a:seacms:seacms:12.9:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"12.9"}],"vendor":"seacms","product":"seacms","cpe":"cpe:2.3:a:seacms:seacms:12.9:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gitee.com/fushuling/cve/blob/master/SeaCMS%2012.9%20admin_config_mark.php%20code%20injection.md","tags":["exploit","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-07-15T21:40:05.435Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40520","url":"https://www.cve.org/CVERecord?id=CVE-2024-40520","licence":"CVE Terms of Use","modified":"2024-08-02T04:33:11.690Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40520","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40520","licence":"Public domain","modified":"2026-06-17T07:46:01.983Z"}],"updatedAt":"2026-11-25T22:58:42.898Z","epss":{"score":0.0108,"percentile":0.66065,"date":"2026-12-01T12:00:22.000Z"}}