The mysql_create_function function in sql_udf.cc for MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta, when running on Windows, uses an incomplete blacklist in a directory traversal check, which allows attackers to include arbitrary files via the backslash (\) character.
https://exchange.xforce.ibmcloud.com/vulnerabilities/21738
http://www.appsecinc.com/resources/alerts/mysql/2005-001.html
http://mysql.bkbits.net:8080/mysql-4.0/gnupatch%40428b981bg2iwh3CbGANDaF-W6DbttA
http://mysql.bkbits.net:8080/mysql-4.0/cset%40428b981bg2iwh3CbGANDaF-W6DbttA
http://marc.info/?l=bugtraq&m=112360618320729&w=2
http://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035847.html