First published: Thu Mar 13 2008(Updated: )
MySQL 4.1.24, 5.0.60, 5.1.24, and 6.0.5 fixes an issue allowing an authenticated attacker to gain privileges to tables that will be created by some other database user in future using MyISAM storage engine, if an attacker can predict names of such tables. Attacker can create a table using DATA/INDEX DIRECTORY directives causing data and index files (.MYD/.MYI) to be created in some other directory writable by mysql server, including directories used to store table files of other users' databases. If victim later creates table with the same name, attacker's data and index files are overwritten by victim's files, but access privileges are not revoked. Attacker gains access to newly created victim's table. References: <a href="http://bugs.mysql.com/bug.php?id=32167">http://bugs.mysql.com/bug.php?id=32167</a> <a href="http://dev.mysql.com/doc/refman/4.1/en/news-4-1-24.html">http://dev.mysql.com/doc/refman/4.1/en/news-4-1-24.html</a> <a href="http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-60.html">http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-60.html</a> <a href="http://dev.mysql.com/doc/refman/5.1/en/news-5-1-24.html">http://dev.mysql.com/doc/refman/5.1/en/news-5-1-24.html</a> <a href="http://dev.mysql.com/doc/refman/6.0/en/news-6-0-5.html">http://dev.mysql.com/doc/refman/6.0/en/news-6-0-5.html</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/mysql | <0:4.1.22-2.el4 | 0:4.1.22-2.el4 |
redhat/mysql | <0:5.0.77-3.el5 | 0:5.0.77-3.el5 |
redhat/httpd | <0:2.0.63-2.el4 | 0:2.0.63-2.el4 |
redhat/mysql | <0:5.0.50sp1a-2.el4 | 0:5.0.50sp1a-2.el4 |
redhat/mysql-connector-odbc | <0:3.51.24r1071-1.el4 | 0:3.51.24r1071-1.el4 |
redhat/php | <0:5.1.6-3.el4 | 0:5.1.6-3.el4 |
redhat/postgresqlclient7 | <0:7.4.19-1.el4 | 0:7.4.19-1.el4 |
redhat/postgresql-jdbc | <0:8.1.412-1jpp.el4 | 0:8.1.412-1jpp.el4 |
MySQL MySQL | >=4.1.0<4.1.24 | |
MySQL MySQL | >=5.0.0<5.0.60 | |
MySQL MySQL | >=5.1.0<5.1.24 | |
Oracle MySQL | >=6.0.0<6.0.5 | |
Debian Debian Linux | =4.0 | |
Canonical Ubuntu Linux | =6.06 | |
Canonical Ubuntu Linux | =7.10 | |
Canonical Ubuntu Linux | =8.04 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)