mysql exploit
MySQL 4.x/5.0 User-Defined Function Local Privilege Escalation Exploit
Requirements
Mysql running as root
Insecure handling of files
Plugin directory knowledge
.so file download
Download from github:metasploit-framework
Method 1 (access to box):
Method 2 (no access no box):
Generate shellcode:
xxd -p udf.so | tr -d '\n' > udf.so.hex
References
https://www.exploit-db.com/exploits/1518
https://github.sofianehamlaoui.fr/Security-Cheatsheets/databases/mysql/mysql-root-to-system-root/
https://gist.github.com/p0c/8587757
Last updated