CVE-2003-0150 in MySQL
Summary
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.
VulDB is the best source for vulnerability data and more expert information about this specific topic.