MySQL before 5.1.48 allows remote authenticated users with alter database privileges to cause a denial of service (server crash and database loss) via an ALTER DATABASE command with a #mysql50# string followed by a . (dot), .. (dot dot), ../ (dot dot slash) or similar sequence, and an UPGRADE DATA DIRECTORY NAME command, which causes MySQL to move certain directories to the server data directory.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mysql | Oracle | * | 5.1.48 (excluding) |
Mysql-5.1 | Ubuntu | devel | * |
Mysql-5.1 | Ubuntu | maverick | * |
Mysql-5.1 | Ubuntu | upstream | * |
Mysql-dfsg-5.1 | Ubuntu | jaunty | * |
Mysql-dfsg-5.1 | Ubuntu | karmic | * |
Mysql-dfsg-5.1 | Ubuntu | lucid | * |
Mysql-dfsg-5.1 | Ubuntu | upstream | * |
Command injection vulnerabilities typically occur when:
Many protocols and products have their own custom command language. While OS or shell command strings are frequently discovered and targeted, developers may not realize that these other command languages might also be vulnerable to attacks. Command injection is a common problem with wrapper programs.