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#203897

MySQL allows default user to be changed to root via custom "my.cnf" file

Overview

MySQL reads configuration options from world-writeable files. This can lead to a remote user gaining elevated privileges.

I. Description

A message posted to the bugtraq mailing list details a vulnerability affecting versions of MySQL prior to 3.23.56. MySQL would permit users with 'FILE' permissions to create and edit world-writeable configuration files. Upon rebooting the server, MySQL would read these files and be configured to give a remote user elevated privileges.

II. Impact

Exploitation of this vulnerability can lead to a remote user gaining elevated privileges and subsequently gaining control of the MySQL database.

III. Solution

Version 3.23.56 of MySQL resolves this issue. Likewise, you may apply the patch or upgrade supplied by your vendor for this issue.

Systems Affected

VendorStatusDate NotifiedDate Updated
MySQLVulnerable18-Mar-2003
OpenPKGVulnerable18-Mar-2003
TrustixVulnerable18-Mar-2003

References


http://lists.mysql.com/cgi-ez/ezmlm-cgi?2:mss:159:200303:anlmcilggaommdkbcboe

Credit

Thanks to Gufino for reporting this vulnerability.

This document was written by Jason A Rafail.

Other Information

Date Public:2003-03-08
Date First Published:2003-03-18
Date Last Updated:2003-03-20
CERT Advisory: 
CVE-ID(s): 
NVD-ID(s): 
US-CERT Technical Alerts: 
Metric:9.43
Document Revision:6

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

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