CVE-2024-27766
MEDIUMMariaDB 11.1 - Remote Code Execution via lib_mysqludf_sys.so Function
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2024-27766. PoCs published by Ant1sec-ops, y0un9eee.
AI-analyzed exploit summary This PoC demonstrates a User-Defined Function (UDF) attack in MariaDB 11.1, allowing arbitrary command execution via a malicious shared library loaded into the database. The exploit leverages the `do_system` function to execute system commands, bypassing security controls.
Description
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.
Exploits (2)
This PoC demonstrates a User-Defined Function (UDF) attack in MariaDB 11.1, allowing arbitrary command execution via a malicious shared library loaded into the database. The exploit leverages the `do_system` function to execute system commands, bypassing security controls.
This repository contains a functional exploit PoC for CVE-2024-27766, demonstrating RCE in MariaDB v11.1 via a malicious UDF. The PoC modifies the original exploit to return command output directly in SQL results using a `char *` return type and `_popen` for command execution.
References (2)
Scores
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L