|
|
|
![]() |
Vulnerability Note VU#123384MySQL client contains buffer overflowOverviewMySQL is a popular open source database package. The MySQL client that ships with the MySQL package contains a buffer overflow.I. DescriptionThe mysql program, part of the MySQL package, contains a buffer overflow in the host parameter. An intruder who invokes mysql using a specially crafted hostname can execute arbitrary code. Because mysql is not setuid or setgid, a local attacker is unable to use this vulnerability to gain additional privileges under most circumstances. However, when PHP is compiled with MySQL support, it is linked to the library containing the buffer overflow, libmysqlclient.so. If a PHP script or other program establishes a connection to a MySQL database and accepts the hostname argument from untrusted sources, an intruder may be able to execute arbitrary code with the privileges of the web server.See also VU#367320.
References
Our thanks to Joao Gouveia who discovered this vulnerability and posted it to the securityfocus.com BugTraq mailing list on February 9, 2001. This document was written by Shawn V. Hernan.
If you have feedback, comments, or additional information about this vulnerability, please send us
email. |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||