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,477 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

Today
New advisories: 5
New vulnerabilities: 6
Updated advisories: 9

Moderately // 23 views
Gentoo update for courier-authlib

5th Sep, 2008
New advisories: 14
New vulnerabilities: 18
Updated advisories: 22

Less // 315 views
Fedora update for xastir
Less // 334 views
Fedora update for samba
Less // 330 views
Fedora update for bitlbee

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. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 55 views
2. Trend Micro Products Web Management Authentication Bypass // 37 views
3. Adobe Flash Player Multiple Vulnerabilities // 34 views
4. VLC Media Player Multiple Vulnerabilities // 34 views
5. Opera Multiple Vulnerabilities // 30 views
6. Microsoft Word Malformed Object Pointer Vulnerability // 27 views
7. Simple Machines Forum Password Reset Vulnerability // 25 views
8. phpAdultSite CMS SQL Injection And Cross-Site Scripting // 24 views
9. Subdreamer Light Global Variables SQL Injection Vulnerability // 22 views
10. Apple QuickTime Multiple Vulnerabilities // 22 views