MySQL Single-Row Subselect and INFORMATION_SCHEMA Denial of Service
Secunia Advisory: SA24483
Release Date: 2007-03-12
Last Update: 2008-03-21
Popularity: 8,467 views

Critical:
Less critical
Impact: DoS
Where: From remote
Solution Status: Vendor Patch

Software:MySQL 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-7232
CVE-2007-1420


Description:
Some vulnerabilities have been reported in MySQL, which can be exploited by malicious users to cause a DoS (Denial of Service).

1) A vulnerability is caused due to a NULL-pointer dereference error within the filesort() function when processing certain single-row subselect queries sorted using the "ORDER BY" clause. This can be exploited to crash the service via a specially crafted SQL query.

2) A vulnerability is caused due to a NULL-pointer dereference error when processing certain queries related to INFORMATION_SCHEMA and derived tables. This can be exploited to crash the service via a specially crafted SQL query.

Solution:
Update to version 5.0.37.

Provided and/or discovered by:
1) S. Streichbier and B. Mueller, SEC Consult
2) Masaaki HIROSE

Changelog:
2007-03-14: Added CVE reference.
2008-03-21: Added CVE reference and vulnerability #2. Added additional link to the "Original Advisory" section.

Original Advisory:
1) http://www.sec-consult.com/284.html
2) http://bugs.mysql.com/bug.php?id=22413


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. Microsoft Word Malformed Object Pointer Vulnerability // 47 views
2. Zeroboard Two Vulnerabilities // 41 views
3. Apple QuickTime Multiple Vulnerabilities // 39 views
4. Subdreamer Light Global Variables SQL Injection Vulnerability // 38 views
5. Opera Multiple Vulnerabilities // 35 views
6. Internet Explorer DHTML Edit ActiveX Control Cross-Site Scripting // 31 views
7. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 30 views
8. Adobe Flash Player Multiple Vulnerabilities // 26 views
9. Zeroboard Multiple Script Insertion Vulnerabilities // 25 views
10. Zeroboard Multiple Vulnerabilities // 25 views