MySQL 5.1.x before 5.1.23 and 6.0.x before 6.0.4 allows remote authenticated users to gain privileges on arbitrary tables via unspecified vectors involving use of table-level DATA DIRECTORY and INDEX DIRECTORY options when creating a partitioned table with the same name as a table on which the user lacks privileges.
https://exchange.xforce.ibmcloud.com/vulnerabilities/38988
http://www.vupen.com/english/advisories/2008/0560/references
http://securitytracker.com/id?1019084
http://dev.mysql.com/doc/refman/6.0/en/news-6-0-4.html