Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-5615 EUVD-2012-5501GHSA-7ccw-fmfw-7xm6

Oracle MySQL 5.5.38 and earlier, 5.6.19 and earlier, and MariaDB 5.5.28a, 5.3.11, 5.2.13, 5.1.66, and possibly other versions, generates di…

Published Dec 3, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

Oracle MySQL 5.5.38 and earlier, 5.6.19 and earlier, and MariaDB 5.5.28a, 5.3.11, 5.2.13, 5.1.66, and possibly other versions, generates different error messages with different time delays depending on whether a user name exists, which allows remote attackers to enumerate valid usernames.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 7 mysql-5.5 5.5.40-0+wheezy1 DSA-3054-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS mysql-5.5 5.5.40-0ubuntu0.14.04.1 USN-2384-1
Ubuntu 14.04 LTS mysql-5.6 5.6.27-0ubuntu0.14.04.1 —
ReleasePackageFixed inAdvisory
RHEL 7 mariadb +7 1:5.5.40-1.el7_0 RHSA-2014:1861
RHEL 5 mysql55-mysql +5 5.5.40-2.el5 RHSA-2014:1859
RHEL 1 mariadb55-mariadb +5 5.5.40-10.el6 RHSA-2014:1862
RHEL 1 mysql55-mysql +5 5.5.40-1.el6 RHSA-2014:1860
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat OpenStack 5 mariadb-galera +2 5.5.40-2.el6ost RHSA-2014:1940, RHSA-2014:1937
ReleasePackageFixed inAdvisory
SLES 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLES 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1
SLES 12 SP5 lz4 1.8.0-3.5.2 SUSE-RU-2023:4991-1
SLES 12 SP5 mariadb-connector-c 3.1.22-2.35.1 SUSE-RU-2023:4991-1
SLES 12 SP5 mariadb104 10.4.30-8.5.46 SUSE-RU-2023:4991-1
SLES 12 SP5 python-mysqlclient 1.3.14-8.9.2 SUSE-RU-2023:4991-1
SLES 12 mariadb 10.0.16-15.1 SUSE-SU-2015:0743-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLES for SAP 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1
SLES for SAP 12 SP5 lz4 1.8.0-3.5.2 SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 mariadb-connector-c 3.1.22-2.35.1 SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 mariadb104 10.4.30-8.5.46 SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 python-mysqlclient 1.3.14-8.9.2 SUSE-RU-2023:4991-1
SLES for SAP 12 mariadb 10.0.16-15.1 SUSE-SU-2015:0743-1
SLE HPC 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLE HPC 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mariadb 10.0.22-3.8 openSUSE-SU-2024:10153-1

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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 12

References