Buffer overflow in Mariadb
CVE-2012-5612
Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly other versions, allows remote authenticated users to cause a denial of service (memory corruption and crash) and possibly execute arbitrary code, as demonstrated using certain variations of the (1) USE, (2) SHOW TABLES, (3) DESCRIBE, (4) SHOW FIELDS FROM, (5) SHOW COLUMNS FROM, (6) SHOW INDEX FROM, (7) CREATE TABLE, (8) DROP TABLE, (9) ALTER TABLE, (10) DELETE FROM, (11) UPDATE, and (12) SET PASSWORD commands.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.210, 97.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mariadb — versions 10.0.0
- Oracle MySQL
- Canonical Ubuntu Linux — versions 10.04, 11.10, 12.04
- SUSE Linux Enterprise Desktop — versions 11
- SUSE Linux Enterprise Server — versions 11
- SUSE Linux Enterprise Software Development Kit — versions 11
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, ipirva/NSX-T_IDS, mudongliang/LinuxFlaw, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.exploit-db.com/exploits/23076 (Exploit, exploit, Third Party Advisory, VDB Entry)
- 20121201 MySQL (Linux) Heap Based Overrun PoC Zeroday (mailing-list, Exploit, Mailing List, Third Party Advisory)
- USN-1703-1 (vendor-advisory, Third Party Advisory)
- MDVSA-2013:102 (vendor-advisory, Broken Link)
- secunia.com/advisories/53372 (Not Applicable, third-party-advisory)
- www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html (Vendor Advisory)
- [oss-security] 20121202 Re: Re: [Full-disclosure] MySQL (Linux) Stack based buffer overrun PoC Zeroday (mailing-list, Mailing List, Third Party Advisory)
- GLSA-201308-06 (vendor-advisory, Third Party Advisory)
- [oss-security] 20121202 Re: Re: [Full-disclosure] MySQL (Linux) Stack based buffer overrun PoC Zeroday (mailing-list, Mailing List, Third Party Advisory)
- SUSE-SU-2013:0262 (vendor-advisory, Mailing List, Third Party Advisory)