[MDEV-3884] Buffer overflow in acl_get() Created: 2012-11-26  Updated: 2018-08-05  Resolved: 2012-12-03

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.28, 5.3.10, 5.2.12, 5.1.62
Fix Version/s: 5.5.28a, 5.3.11, 5.2.13, 5.1.66

Type: Bug Priority: Blocker
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

MySQL bug 13889741 (which is CVE-2012-3163) was, apparently, not completely fixed. A very similar test case finds new, much more dangerous, buffer overflows in acl_get() and check_grant_db_routine(). They allow to overwrite the buffer by an arbitrary number of bytes, not just by one as in bug 13889741. One can trivially put a shellcode there.

To exploit this one needs a valid low-privileged user account in the MariaDB (or MySQL) server.

This new vulnerability is registered as CVE-2012-5611
Reported upstream as http://bugs.mysql.com/bug.php?id=67685
Public disclosure: http://seclists.org/fulldisclosure/2012/Dec/4


Generated at Thu Feb 08 06:52:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.