MySQL 3.x before 3.23.59, 4.x before 4.0.19, 4.1.x before 4.1.2, and 5.x before 5.0.1, checks the CREATE/INSERT rights of the original table instead of the target table in an ALTER TABLE RENAME operation, which could allow attackers to conduct unauthorized activities.
https://exchange.xforce.ibmcloud.com/vulnerabilities/17666
https://euvd.enisa.europa.eu/vulnerability/EUVD-2004-0833
http://www.trustix.org/errata/2004/0054/
http://www.securityfocus.com/bid/11357
http://www.redhat.com/support/errata/RHSA-2004-611.html
http://www.redhat.com/support/errata/RHSA-2004-597.html
http://www.mysql.org/doc/refman/4.1/en/news-4-1-2.html
http://www.mysql.org/doc/refman/4.1/en/news-4-0-19.html
http://www.gentoo.org/security/en/glsa/glsa-200410-22.xml
http://www.ciac.org/ciac/bulletins/p-018.shtml
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101864-1
http://secunia.com/advisories/12783/
http://lists.mysql.com/internals/13073
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000892