Secunia Logo  
 
MySQL Multibyte Encoding SQL Injection Vulnerability
Secunia Advisory: SA20365
Release Date: 2006-06-02
Popularity: 16,093 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

Today
New advisories: 5
New vulnerabilities: 12
Updated advisories: 5

Moderately // 2 views
Fedora update for openssl
Moderately // 2 views
QuoteBook Multiple Vulnerabilities
Less // 2 views
Fedora update for samba
Moderately // 2 views
Ubuntu update for openssl

7th Jan, 2009
New advisories: 31
New vulnerabilities: 90
Updated advisories: 37

Moderately // 346 views
Red Hat update for xterm
Not // 330 views
Red Hat update for dbus
Moderately // 451 views
Red Hat update for openssl

Solutions | More...  


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. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 75 views
2. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 73 views
3. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 38 views
4. HP OpenView Network Node Manager Multiple Vulnerabilities // 31 views
5. Symantec Mail Security for SMTP Response Handling Denial of Service // 29 views
6. Red Hat update for openssl // 26 views
7. Internet Explorer Data Binding Memory Corruption Vulnerability // 20 views
8. PollHelper "poll.inc" Information Disclosure Security Issue // 19 views
9. BlogHelper "common_db.inc" Information Disclosure Security Issue // 18 views
10. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 18 views