vendor:
MySQL
by:
SecurityFocus
7.5
CVSS
HIGH
Privilege Escalation
264
CWE
Product Name: MySQL
Affected Version From: 3.23.x
Affected Version To: 4.0.x
Patch Exists: YES
Related CWE: CVE-2002-0649
CPE: a:mysql:mysql
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Linux, Windows, Mac
2002
MySQL Privilege Escalation Vulnerability
An attacker can exploit this vulnerability by creating a DATADIR/my.cnf that includes the line 'user=root' under the '[mysqld]' option section. When the mysqld service is executed, it will run as the root user instead of the default user, which may allow an attacker to obtain elevated privileges on a compromised system.
Mitigation:
Ensure that the mysqld service is not running as root user.