First published: Tue Aug 16 2005(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
MySQL | =4.1.0 | |
MySQL | =4.1.3 | |
MySQL | =4.1.10 | |
MySQL | =5.0.1 | |
MySQL | =5.0.2 | |
MySQL | =5.0.3 | |
MySQL | =5.0.4 | |
MySQL | =4.0.0 | |
MySQL | =4.0.1 | |
MySQL | =4.0.2 | |
MySQL | =4.0.3 | |
MySQL | =4.0.4 | |
MySQL | =4.0.5 | |
MySQL | =4.0.5a | |
MySQL | =4.0.6 | |
MySQL | =4.0.7 | |
MySQL | =4.0.7-gamma | |
MySQL | =4.0.8 | |
MySQL | =4.0.8-gamma | |
MySQL | =4.0.9 | |
MySQL | =4.0.9-gamma | |
MySQL | =4.0.10 | |
MySQL | =4.0.11 | |
MySQL | =4.0.11-gamma | |
MySQL | =4.0.12 | |
MySQL | =4.0.13 | |
MySQL | =4.0.14 | |
MySQL | =4.0.15 | |
MySQL | =4.0.18 | |
MySQL | =4.0.20 | |
MySQL | =4.0.21 | |
MySQL | =4.0.24 | |
MySQL | =4.1.0-alpha | |
MySQL | =4.1.2-alpha | |
MySQL | =4.1.3-beta | |
MySQL | =4.1.4 | |
MySQL | =4.1.5 | |
MySQL | =5.0.0-alpha |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2005-2573 is classified as a medium severity vulnerability due to its potential for local file inclusion.
To fix CVE-2005-2573, upgrade to MySQL versions 4.0.25, 4.1.13, or 5.0.7-beta or later.
CVE-2005-2573 affects MySQL versions 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta.
CVE-2005-2573 can be exploited to perform local file inclusion attacks, allowing unauthorized file access.
The root cause of CVE-2005-2573 is an incomplete blacklist in the directory traversal check of the mysql_create_function in affected MySQL versions.