Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA19929

MySQL Information Disclosure and Buffer Overflow Vulnerabilities
Secunia Advisory SA19929
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2006-05-03
Last Update 2006-07-21
   
Popularity 23,150 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Exposure of sensitive information
DoS
System access
Where From local network
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
MySQL 4.x
MySQL 5.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2006-1516 CVSS available in Customer Area
CVE-2006-1517 CVSS available in Customer Area
CVE-2006-1518 CVSS available in Customer Area
CVE-2006-3081 CVSS available in Customer Area
CVE-2006-3469 CVSS available in Customer Area
  

Description

Some vulnerabilities have been reported in MySQL, which can be exploited by malicious users to disclose potentially sensitive information, cause a DoS (Denial of Service) and compromise a vulnerable system.

1) An error within the code that generates an error response to an invalid COM_TABLE_DUMP packet can be exploited by an authenticated client to disclosure certain memory content of the server process.

The vulnerability has been reported in version 4.0.26, 4.1.18, and 5.0.20. Prior versions may also be affected.

2) A boundary error within the handling of specially crafted invalid COM_TABLE_DUMP packets can be exploited by an authenticated client to cause a buffer overflow and allows arbitrary code execution.

The vulnerability has been reported in version 5.0.20. Prior versions may also be affected.

3) An error within the handling of malformed login packets can be exploited to disclosure certain memory content of the server process in the error messages.

The vulnerability has been reported in version 4.0.26, 4.1.18, and 5.0.20. Prior versions may also be affected.

4) An error exists within the handling of certain queries that contain the "STR_TO_DATE(1,NULL)" clause. This can be exploited by malicious users to cause the "mysqld" process to crash.

5) An error within the handling of invalid arguments to "DATE_FORMAT()" can be exploited by malicious users to crash the service.

The vulnerability has been reported in versions 4.1.17, 5.0.18, and 5.1.5. Prior versions may also be affected.


Solution
Update to the fixed versions.
Further details available in Customer Area

Provided and/or discovered by
1-3) Stefano Di Paola
4) Kanatoko
5) The vendor credits Jean-David Maillefer

Changelog
Further details available in Customer Area

Original Advisory
MySQL:
http://dev.mysql.com/doc/refman/4.1/en/news-4-1-19.html
http://dev.mysql.com/doc/connector/j/en/news-5-0-21.html
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-10.html

Wisec:
http://www.wisec.it/vulns.php?page=7
http://www.wisec.it/vulns.php?page=8

Kanatoko:
http://bugs.mysql.com/bug.php?id=15828

Jean-David Maillefer:
http://bugs.mysql.com/bug.php?id=20729

Other references
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: MySQL Information Disclosure and Buffer Overflow Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability