Buffer overflow in MySQL daemon (mysqld) before 3.23.50, and 4.0 beta before 4.02, on the Win32 platform, allows local users to execute arbitrary code via a long "datadir" parameter in the my.ini initialization file, whose permissions on Windows allow Full Control to the Everyone group.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2002-0958
http://www.westpoint.ltd.uk/advisories/wp-02-0003.txt
http://www.securityfocus.com/bid/5853
http://www.mysql.com/documentation/mysql/bychapter/manual_News.html#News-3.23.x
http://www.iss.net/security_center/static/10243.php
http://marc.info/?l=bugtraq&m=103358628011935&w=2
http://archives.neohapsis.com/archives/vulnwatch/2002-q4/0004.html