Secunia Logo
Netsikker nu! 2008
 
MySQL Multibyte Encoding SQL Injection Vulnerability
Secunia Advisory: SA20365
Release Date: 2006-06-02
Popularity: 15,207 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. phpBB BBcode Script Insertion Vulnerability // 47 views
2. phpBB "cur_password" Cross-Site Scripting Vulnerability // 44 views
3. CA ARCserve Backup Multiple Vulnerabilities // 27 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 24 views
5. CUPS Multiple Vulnerabilities // 22 views
6. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 19 views
7. Red Hat update for cups // 19 views
8. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 18 views
9. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 17 views
10. Microsoft Word Malformed Object Pointer Vulnerability // 17 views