CVE-2024-27766
Published: 17 October 2024
Summary
CVE-2024-27766 is a medium-severity Code Injection (CWE-94) vulnerability in Mariadb Mariadb. Its CVSS base score is 5.7 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation of Remote Services (T1210); ranked in the top 3.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2024-27766 is an issue affecting MariaDB version 11.1 that permits a remote attacker to execute arbitrary code through the lib_mysqludf_sys.so function. The vulnerability is tracked under CWE-94 and carries a CVSS 3.1 score of 5.7 reflecting physical access vector requirements along with low attack complexity. The MariaDB Foundation disputes the report on the grounds that no privilege boundary is crossed.
An attacker with the ability to reach the affected component can leverage the flaw to run arbitrary code, resulting in impacts to confidentiality, integrity, and availability. The current EPSS score of 0.3015, with a recorded peak of 0.3069, indicates moderate exploitation interest without a pronounced post-disclosure climb from a low baseline.
Public references consist of a GitHub repository documenting the issue and an unrelated 2012 disclosure thread; neither source supplies official mitigation guidance or patch details from the vendor.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-24959
Vulnerability details
An issue in MariaDB v.11.1 allows a remote attacker to execute arbitrary code via the lib_mysqludf_sys.so function. NOTE: this is disputed by the MariaDB Foundation because no privilege boundary is crossed.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
CVE-2024-27766 enables authenticated remote code execution on MariaDB servers via UDFs like lib_mysqludf_sys.so or custom payloads written to the plugin directory, facilitating exploitation of remote services (T1210) and abuse of server software components (T1505.001).
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.