CVE-2012-5611
Description
Stack-based buffer overflow in the acl_get function in Oracle MySQL 5.5.19 and other versions through 5.5.28, and 5.1.53 and other versions through 5.1.66, and MariaDB 5.5.2.x before 5.5.28a, 5.3.x before 5.3.11, 5.2.x before 5.2.13 and 5.1.x before 5.1.66, allows remote authenticated users to execute arbitrary code via a long argument to the GRANT FILE command.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
MySQL (Linux) - Stack Buffer Overrun (PoC)
OS impact
Linux kernel Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| - | Not affected | โ |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mariadb | mariadb | 5.1.41 | |
| mariadb | mariadb | 5.1.42 | |
| mariadb | mariadb | 5.1.44 | |
| mariadb | mariadb | 5.1.47 | |
| mariadb | mariadb | 5.1.49 | |
| mariadb | mariadb | 5.1.50 | |
| mariadb | mariadb | 5.1.51 | |
| mariadb | mariadb | 5.1.53 | |
| mariadb | mariadb | 5.1.55 | |
| mariadb | mariadb | 5.1.60 | |
| mariadb | mariadb | 5.1.61 | |
| mariadb | mariadb | 5.1.62 | |
| mariadb | mariadb | 5.2.0 | |
| mariadb | mariadb | 5.2.1 | |
| mariadb | mariadb | 5.2.2 | |
| mariadb | mariadb | 5.2.3 | |
| mariadb | mariadb | 5.2.4 | |
| mariadb | mariadb | 5.2.5 | |
| mariadb | mariadb | 5.2.6 | |
| mariadb | mariadb | 5.2.7 | |
| mariadb | mariadb | 5.2.8 | |
| mariadb | mariadb | 5.2.9 | |
| mariadb | mariadb | 5.2.10 | |
| mariadb | mariadb | 5.2.11 | |
| mariadb | mariadb | 5.2.12 | |
| mariadb | mariadb | 5.3.0 | |
| mariadb | mariadb | 5.3.1 | |
| mariadb | mariadb | 5.3.2 | |
| mariadb | mariadb | 5.3.3 | |
| mariadb | mariadb | 5.3.4 | |
| mariadb | mariadb | 5.3.5 | |
| mariadb | mariadb | 5.3.6 | |
| mariadb | mariadb | 5.3.7 | |
| mariadb | mariadb | 5.3.8 | |
| mariadb | mariadb | 5.3.9 | |
| mariadb | mariadb | 5.3.10 | |
| mariadb | mariadb | 5.5.20 | |
| mariadb | mariadb | 5.5.21 | |
| mariadb | mariadb | 5.5.22 | |
| mariadb | mariadb | 5.5.23 | |
| mariadb | mariadb | 5.5.24 | |
| mariadb | mariadb | 5.5.25 | |
| mariadb | mariadb | 5.5.27 | |
| mariadb | mariadb | 5.5.28 | |
| oracle | mysql | 5.1.53 | |
| oracle | mysql | 5.5.19 | |
References
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00020.html
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00010.html
- http://rhn.redhat.com/errata/RHSA-2012-1551.html
- http://rhn.redhat.com/errata/RHSA-2013-0180.html
- http://seclists.org/fulldisclosure/2012/Dec/4
- http://secunia.com/advisories/51443
- http://secunia.com/advisories/53372
- http://security.gentoo.org/glsa/glsa-201308-06.xml
- http://www.debian.org/security/2012/dsa-2581
- http://www.exploit-db.com/exploits/23075
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:102
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:150
- http://www.openwall.com/lists/oss-security/2012/12/02/3
- http://www.openwall.com/lists/oss-security/2012/12/02/4
- http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html
- http://www.ubuntu.com/usn/USN-1658-1
- http://www.ubuntu.com/usn/USN-1703-1
- https://kb.askmonty.org/en/mariadb-5166-release-notes/
- https://kb.askmonty.org/en/mariadb-5213-release-notes/
- https://kb.askmonty.org/en/mariadb-5311-release-notes/
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.