CVE-2003-0150

MySQL 3.23.55 and earlier creates world-writeable files and allows mysql users to gain root privileges by using the "SELECT * INFO OUTFILE" operator to…

published March 21, 2003

CVSS
—
EPSS
45%
Percentile
98.8
In the wild
Unconfirmed
What it is

⚠️ A misconfigured MySQL is like a restaurant kitchen with an open door! MySQL versions 3.23.55 and earlier let any user turn into the head chef, wielding dangerous privileges. 🔥 Think of it this way: if your kitchen has a sign that says 'Anyone can cook!', you might end up with someone who can't even boil water. This vulnerability allows mysql users to overwrite crucial configuration files, making MySQL run as root on restart — like a cook suddenly in charge of the entire restaurant! This flaw could lead to absolute chaos — an attacker could overwrite the configuration and gain root access, turning your database server into a playground for malicious activities. They could even erase or alter critical data, putting your entire operation at serious risk.

Put simply

Think of it this way: if your kitchen has a sign that says 'Anyone can cook!', you might end up with someone who can't even boil water. This vulnerability allows mysql users to overwrite crucial configuration files, making MySQL run as root on restart — like a cook suddenly in charge of the entire restaurant! This vulnerability arises from MySQL allowing unprivileged users to create world-writable files using the 'SELECT * INTO OUTFILE' command. This can lead to unauthorized file modifications, specifically the ability to alter the my.cnf configuration file, which then executes with root privileges upon MySQL restart.

What to do

This flaw could lead to absolute chaos — an attacker could overwrite the configuration and gain root access, turning your database server into a playground for malicious activities. They could even erase or alter critical data, putting your entire operation at serious risk. To defend against this, upgrade to a patched version of MySQL (3.23.56 and later). Make sure to review your file permissions and limit mysql user's capabilities. Regularly audit configurations to ensure they remain secure! You've got this! With these steps, you'll be protecting your database like a pro. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.44831 · 98.8th percentile
Published
2003-03-21T05:00Z
EPSS history
Timeline
  • 21 MAR 05:00Z
    MySQL 3.23.55 and earlier creates world-writeable files and allows mysql users to gain root privileges by using the "SELECT * INFO OUTFILE" operator to…
    cvelistv5