Description
MySQL before 5.1.48 allows remote authenticated users with alter database privileges to cause a denial of service (server crash and database loss) via an ALTER DATABASE command with a #mysql50# string followed by a . (dot), .. (dot dot), ../ (dot dot slash) or similar sequence, and an UPGRADE DATA DIRECTORY NAME command, which causes MySQL to move certain directories to the server data directory.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Oracle MySQL - 'ALTER DATABASE' Remote Denial of Service EDB-14537 · dos · Aug 3, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- USN-1397-1 vendor-advisory
- oval:org.mitre.oval:def:11869 vdb-entry signature
- http://bugs.mysql.com/bug.php?id=53804
- ADV-2010-1918 vdb-entry
- 41198 vdb-entry
- 1024160 vdb-entry
- 40333 third-party-advisory
- USN-1017-1 vendor-advisory
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html
- MDVSA-2010:155 vendor-advisory
- 40762 third-party-advisory
- FEDORA-2010-11135 vendor-advisory