Bug 852144 (CVE-2012-4414)

Summary: CVE-2012-4414 mysql: Multiple SQL injection flaws by generation of binlog entries
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gnaik, hhorak, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-11 21:04:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 863320    
Bug Blocks: 852149    

Description Jan Lieskovsky 2012-08-27 17:30:40 UTC
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

Comment 10 Kurt Seifried 2012-09-08 19:50:33 UTC
*** Bug 855539 has been marked as a duplicate of this bug. ***

Comment 11 Kurt Seifried 2012-09-08 21:05:53 UTC
A MySQL bug entry is available for this issue:

http://bugs.mysql.com/bug.php?id=66550

Comment 12 Stefan Cornelius 2012-09-11 13:36:13 UTC
Public via http://www.openwall.com/lists/oss-security/2012/09/11/4

Comment 16 Stefan Cornelius 2012-10-05 06:09:33 UTC
Created mysql tracking bugs for this issue

Affects: fedora-all [bug 863320]

Comment 18 Tomas Hoger 2013-01-16 15:40:08 UTC
Following blog post suggests that the fix for this issue is included in upstream MySQL 5.5.29, but it does not completely and correctly resolve the issue:

http://www.mysqlperformanceblog.com/2013/01/13/cve-2012-4414-in-mysql-5-5-29-and-percona-server-5-5-29/

Comment 27 Product Security DevOps Team 2021-06-11 21:04:40 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2012-4414