Secunia Logo
Netsikker nu! 2008
 
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.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB BBcode "url" Script Insertion Vulnerability // 75 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 75 views
3. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 51 views
4. Microsoft Windows Vista Page Fault Handling Denial of Service // 45 views
5. VMware VirtualCenter Multiple Vulnerabilities // 45 views
6. Serv-U File Renaming Directory Traversal and STOU Denial of Service // 40 views
7. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 38 views
8. pMachine "pm_path" File Inclusion Vulnerability // 33 views
9. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 32 views
10. Kontiki Delivery Management System "action" Cross-Site Scripting // 32 views