MySQL mysql_real_query logging bypass
| mysql-query-logging-bypass (24966) |
Description:
MySQL could allow a local attacker to bypass the query logging mechanism, caused by a vulnerability in the mysql_real_query function. An attacker could exploit this vulnerability by sending a specially-crafted query containing a NULL character to cause part of the query to be logged incorrectly.
*CVSS:
| Base Score: | 3.9 |
| Access Vector: | Local |
| Access Complexity: | High |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 2.9 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Bypass Security
Remedy:
For Debian GNU/Linux:
Refer to DSA-1073-1, DSA-1071-1, or DSA-1079-1 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2006:0544-6 or RHSA-2007:0083-3 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- Full-Disclosure Mailing List, Sat Feb 25 2006 - 23:53:34 CST: mysql <= 5.0.18.
- MySQL Web site: MySQL AB::The World's Most Popular Open Source Database.
- ASA-2006-120: MySQL security update (RHSA-2006-0544)1)
- ASA-2007-077: mysql security update (RHSA-2007-0083)
- BID-16850: MySQL Query Logging Bypass Vulnerability
- CVE-2006-0903: MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not properly handled by the mysql_real_query function. NOTE: this issue was originally reported for the mysql_query function, but the vendor states that since mysql_query expects a null character, this is not an issue for mysql_query.
- DSA-1071: mysql -- several vulnerabilities
- DSA-1073: mysql-dfsg-4.1 -- several vulnerabilities
- DSA-1079: mysql-dfsg -- several vulnerabilities
- MDKSA-2006:064: Updated MySQL packages fix logging bypass vulnerability
- RHSA-2006-0544: mysql security update
- RHSA-2007-0083: Low: mysql security update
- RHSA-2008-0364: Low: mysql security and bug fix update
- SA19034: MySQL Query Logging Bypass Security Issue
- SECTRACK ID: 1015693: MySQL Query Bug Lets Remote Users Bypass Query Logging
Platforms Affected:
- Canonical Ubuntu 4.10
- Canonical Ubuntu 5.04
- Canonical Ubuntu 5.10
- Debian Debian Linux 3.0
- Debian Debian Linux 3.1
- MandrakeSoft Mandrake Linux 2006 X86_64
- MandrakeSoft Mandrake Linux 2006
- MandrakeSoft Mandrake Linux LE2005
- MandrakeSoft Mandrake Linux LE2005 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MySQL MySQL 5.0.18
- RedHat Application Stack v1 for EL AS 4
- RedHat Application Stack v1 for EL ES 4
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client Workstation
- RedHat Enterprise Linux 5 Client
- Turbolinux Turbolinux 10 Desktop
- Turbolinux Turbolinux 10 F...
- Turbolinux Turbolinux 10 Server
- Turbolinux Turbolinux 10 Server x64 Ed
- Turbolinux Turbolinux 7 Server
- Turbolinux Turbolinux 8 Server
- Turbolinux Turbolinux 8 Workstation
- Turbolinux Turbolinux FUJI
- Turbolinux Turbolinux Home
- Turbolinux Turbolinux Multimedia
- Turbolinux Turbolinux Personal
- Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
- Turbolinux Turbolinux Appliance Server 2.0
Reported:
Feb 25, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
