CVE-2024-3105
Published: 15 June 2024
Summary
CVE-2024-3105 is a critical-severity Code Injection (CWE-94) vulnerability in Wordpress (inferred from references). Its CVSS base score is 9.9 (Critical).
Operationally, ranked in the top 1.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Woody code snippets – Insert Header Footer Code, AdSense Ads plugin for WordPress contains a remote code execution vulnerability in all versions through 2.5.0. The flaw stems from insufficient authorization checks around the insert_php shortcode, which permits arbitrary PHP execution and is tracked as CWE-94. The issue received a CVSS 3.1 score of 9.9.
Authenticated attackers holding contributor-level privileges or higher can supply malicious shortcode content to run arbitrary code on the underlying server, achieving full confidentiality, integrity, and availability impact within the WordPress context. Exploitation requires only network access and valid low-privileged credentials.
Public references include the vulnerable shortcode handler and a subsequent changeset in the plugin repository, indicating that an update addressing the authorization gap has been published. The EPSS score currently stands at 0.5785 with no material upward movement recorded after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-31708
Vulnerability details
The Woody code snippets – Insert Header Footer Code, AdSense Ads plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.5.0 via the 'insert_php' shortcode. This is due to the plugin not restricting…
more
the usage of the functionality to high level authorized users. This makes it possible for authenticated attackers, with contributor-level access and above, to execute code on the server.
- 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.