CVE-2003-0150

MySQL <3.23.55 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2003-0150. PoCs published by [email protected].

AI-analyzed exploit summary This exploit leverages a MySQL configuration file vulnerability to escalate privileges by creating a malicious 'my.cnf' file in the DATADIR, forcing the mysqld service to run as root. The PoC demonstrates the steps to create and populate the configuration file via SQL commands.

Description

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 overwrite a configuration file and cause mysql to run as root upon restart, as demonstrated by modifying my.cnf.

Exploits (1)

exploitdb WORKING POC VERIFIED
by [email protected] · textlocallinux
https://www.exploit-db.com/exploits/22340

This exploit leverages a MySQL configuration file vulnerability to escalate privileges by creating a malicious 'my.cnf' file in the DATADIR, forcing the mysqld service to run as root. The PoC demonstrates the steps to create and populate the configuration file via SQL commands.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: MySQL (versions affected by CVE-2003-0150)
Auth required
Prerequisites: Access to a MySQL database with sufficient privileges to create tables and write files
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

References (14)

Core 14
Core References
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=104800948128630&w=2
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A442
Vendor Advisory vendor-advisory x_refsource_conectiva
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000743
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=104802285012750&w=2
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2003/dsa-303
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/11510
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2003-094.html
Vendor Advisory vendor-advisory x_refsource_mandrake
http://www.mandriva.com/security/advisories?name=MDKSA-2003:057
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/203897
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=104739810523433&w=2
Various Sources vendor-advisory x_refsource_engarde
http://www.linuxsecurity.com/advisories/engarde_advisory-3046.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2003-093.html
Exploit, Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/7052
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=104715840202315&w=2

Scores

EPSS 0.4483
EPSS Percentile 98.7%

Details

Status published
Products (6)
oracle/mysql 3.23.52
oracle/mysql 3.23.53
oracle/mysql 3.23.53a
oracle/mysql 3.23.54
oracle/mysql 3.23.54a
oracle/mysql 3.23.55
Published Mar 24, 2003
Tracked Since Feb 18, 2026