CVE-2012-4414: SQL Injection
Multiple SQL injection flaws were found in the way the binlog functionality (routines producing events describing database changes such as table creation operations or changes to table data) of MySQL, a multi-user, multi-threaded SQL database server, performed sanitization of table names and other fields prior creating particular log entry. Authorised database users (with privilege to modify tables) could use this flaw to inject arbitrary SQL query into subsequently generated binlog entries.
References: [1] https://mariadb.atlassian.net/browse/MDEV-382
MariaDB patches: [2] http://bazaar.launchpad.net/~maria-captains/maria/5.1/revision/3151.1.1 (against 5.1 branch) [3] http://bazaar.launchpad.net/~maria-captains/maria/5.2/revision/3163.1.1 (against 5.2 branch) [4] http://bazaar.launchpad.net/~maria-captains/maria/5.3/revision/3556.1.2 (against 5.3 branch) [5] http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/3508 (against 5.5 branch)
MySQL bug: [6] http://bugs.mysql.com/66550
Other sources
Multiple SQL injection vulnerabilities in the replication code in Oracle MySQL possibly before 5.5.29, and MariaDB 5.1.x through 5.1.62, 5.2.x through 5.2.12, 5.3.x through 5.3.7, and 5.5.x through 5.5.25, allow remote authenticated users to execute arbitrary SQL commands via vectors related to the binary log. NOTE: as of 20130116, Oracle has not commented on claims from a downstream vendor that the fix in MySQL 5.5.29 is incomplete.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-4414?
CVE-2012-4414 is categorized as a high severity vulnerability due to the potential for unauthorized access to database information via SQL injection.
How do I fix CVE-2012-4414?
To remediate CVE-2012-4414, upgrade to a version of MySQL that has mitigated this vulnerability, specifically versions later than 5.5.28 and 5.1.63.
What types of vulnerabilities are associated with CVE-2012-4414?
CVE-2012-4414 is associated with SQL injection vulnerabilities, which allow an attacker to manipulate SQL queries.
Which software versions are affected by CVE-2012-4414?
CVE-2012-4414 affects specific MySQL versions from 5.1.51 to 5.5.28 and several MariaDB versions before their respective patches.
Can CVE-2012-4414 lead to data breaches?
Yes, if exploited, CVE-2012-4414 can lead to data breaches by allowing attackers to execute unauthorized SQL commands.