Exploitation Summary
EIP tracks 2 public exploits for CVE-2012-5615. PoCs published by kingcope.
AI-analyzed exploit summary This exploit leverages a post-authentication UDF (User Defined Function) technique to achieve remote code execution on MySQL Windows systems, resulting in a SYSTEM-level reverse shell. It requires compiling a custom payload DLL and the exploit binary, then executing it with valid MySQL credentials.
Description
Oracle MySQL 5.5.38 and earlier, 5.6.19 and earlier, and MariaDB 5.5.28a, 5.3.11, 5.2.13, 5.1.66, and possibly other versions, generates different error messages with different time delays depending on whether a user name exists, which allows remote attackers to enumerate valid usernames.
Exploits (2)
This exploit leverages a post-authentication UDF (User Defined Function) technique to achieve remote code execution on MySQL Windows systems, resulting in a SYSTEM-level reverse shell. It requires compiling a custom payload DLL and the exploit binary, then executing it with valid MySQL credentials.
This script enumerates MySQL user accounts by exploiting a timing difference in authentication responses between MySQL 4.x and 5.x servers. It uses a wordlist to test usernames and identifies valid accounts based on the server's error message.