SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#123384

MySQL client contains buffer overflow

Overview

MySQL is a popular open source database package. The MySQL client that ships with the MySQL package contains a buffer overflow.

I. Description

The mysql program, part of the MySQL package, contains a buffer overflow in the host parameter. An intruder who invokes mysql using a specially crafted hostname can execute arbitrary code. Because mysql is not setuid or setgid, a local attacker is unable to use this vulnerability to gain additional privileges under most circumstances. However, when PHP is compiled with MySQL support, it is linked to the library containing the buffer overflow, libmysqlclient.so. If a PHP script or other program establishes a connection to a MySQL database and accepts the hostname argument from untrusted sources, an intruder may be able to execute arbitrary code with the privileges of the web server.

See also VU#367320.

II. Impact

The impact of this vulnerability depends on the context in which MySQL is used, and may vary on a site-by-site basis.

III. Solution

Upgrade to MySQL version 3.23.33 or later.

Systems Affected

VendorStatusDate NotifiedDate Updated
MySQLVulnerable17-Feb-2001

References


http://www.securityfocus.com/archive/1/161917
http://www.mysql.com/doc/N/e/News-3.23.33.html
http://www.kb.cert.org/vuls/id/367320

Credit

Our thanks to Joao Gouveia who discovered this vulnerability and posted it to the securityfocus.com BugTraq mailing list on February 9, 2001.

This document was written by Shawn V. Hernan.

Other Information

Date Public:2001-02-09
Date First Published:2001-02-17
Date Last Updated:2001-02-17
CERT Advisory: 
CVE-ID(s): 
NVD-ID(s): 
US-CERT Technical Alerts: 
Metric:11.44
Document Revision:6

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2001 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader