Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

MySQL Information Disclosure and Buffer Overflow Vulnerabilities

-

Release Date:  2006-05-03    Last Update:  2006-07-21    Views:  25,107

Secunia Advisory SA19929

Where:

From local network

Impact:

Exposure of sensitive information, DoS, System access

Solution Status:

Vendor Patch

CVE Reference(s):

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 to Secunia VIM customers

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

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

Deep Links:
Links available to Secunia VIM customers

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
Webinars
Events
 About us
Careers
Memberships
Newsroom


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