Secunia Logo
Netsikker nu! 2008
 
MySQL Multibyte Encoding SQL Injection Vulnerability
Secunia Advisory: SA20365
Release Date: 2006-06-02
Popularity: 15,154 views

Critical:
Moderately critical
Impact: Manipulation of data
Where: From remote
Solution Status: Vendor Patch

Software:MySQL 4.x
MySQL 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2753


Description:
A vulnerability has been reported in MySQL, which potentially can be exploited by malicious people to conduct SQL injection attacks.

The vulnerability is caused due to an error within the server when parsing a query string that is escaped with the "mysql_real_escape_string()" function. This can potentially be exploited in an environment that uses multi-byte character encoding to bypass SQL injection escaping.

The vulnerability is related to:
SA20231

The vulnerability has been reported in version 4.1.19 and 5.0.21. Prior versions may also be affected.

Solution:
Update to the fixed versions.

MySQL 4.1.x:
Update to version 4.1.20.
http://dev.mysql.com/downloads/mysql/4.1.html

MySQL 5.0.x:
Update to version 5.0.22.
http://dev.mysql.com/downloads/mysql/5.0.html

MySQL 5.1.x:
The vulnerability will be fixed in version 5.1.11.

Provided and/or discovered by:
The vendor credits Josh Berkus and Tom Lane.

Original Advisory:
MySQL:
http://dev.mysql.com/doc/refman/4.1/en/news-4-1-20.html
http://dev.mysql.com/doc/connector/j/en/news-5-0-22.html
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-11.html
http://lists.mysql.com/announce/364
http://lists.mysql.com/announce/365
http://bugs.mysql.com/bug.php?id=8378

Other References:
SA20231:
http://secunia.com/advisories/20231/


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. Debian update for lighttpd // 97 views
2. HP-UX NFS/ONCplus Denial of Service Vulnerability // 91 views
3. IBM Lotus Quickr Security Issues and Denial of Service // 87 views
4. iseemedia LPViewer ActiveX Control Multiple Buffer Overflow Vulnerabilities // 83 views
5. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 79 views
6. Kwalbum "UploaditemsPage.php" File Upload Vulnerability // 75 views
7. SUSE update for MozillaFirefox // 67 views
8. Serv-U File Renaming Directory Traversal and STOU Denial of Service // 49 views
9. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 45 views
10. Microsoft Windows Vista Page Fault Handling Denial of Service // 43 views