CVE-2024-40522
Published: 12 July 2024
Summary
CVE-2024-40522 is a high-severity Code Injection (CWE-94) vulnerability in Seacms Seacms. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 8.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
SeaCMS version 12.9 is affected by a remote code execution vulnerability in the phomebak.php component. The root cause is improper filtering of variable names supplied to the script, which are written directly into a generated PHP file, corresponding to CWE-94 code injection.
An authenticated attacker with network access can supply crafted variables to achieve arbitrary command execution and obtain full system-level permissions. The flaw is rated 8.8 under CVSS 3.1, reflecting network attack vector, low complexity, and high impact on confidentiality, integrity, and availability.
The referenced technical write-ups describe the injection vector in detail but contain no information on vendor patches or mitigation guidance. The associated EPSS score has remained flat at 0.0640 with no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-38501
Vulnerability details
There is a remote code execution vulnerability in SeaCMS 12.9. The vulnerability is caused by phomebak.php writing some variable names passed in without filtering them before writing them into the php file. An authenticated attacker can exploit this vulnerability to…
more
execute arbitrary commands and obtain system permissions.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.