|
MySQL Query Logging Bypass Security Issue
|
|
Secunia Advisory:
|
SA19034
|
|
|
Release Date:
|
2006-02-27
|
|
Last Update:
|
2006-07-10
|
|
Popularity:
|
11,798 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
Security Bypass
|
|
Where:
|
Local system
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | MySQL 3.x MySQL 4.x MySQL 5.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-0903
|
|
Description: 1dt.w0lf has discovered a security issue in MySQL, which can be exploited by malicious users to bypass certain security restrictions.
The security issue is caused due to an error within the handling of query logging. This can be exploited to cause part of the query to be incorrectly logged if the query contains the NULL character.
Example:
mysql_query("/*".chr(0)."*/ SELECT * FROM table");
The security issue has been confirmed in version 5.0.18. Other versions may also be affected.
Solution: Update to version 5.0.23.
Provided and/or discovered by: 1dt.w0lf
Changelog: 2006-03-02: Added CVE reference.
2006-05-11: Updated "Solution" section. Added link to MySQL bug report.
2006-07-10: Updated "Solution" section.
Original Advisory: http://rst.void.ru/papers/advisory39.txt
http://bugs.mysql.com/bug.php?id=17667
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|