Security researchers urge admins to update MySQL database servers, following the discovery of a set of potentially troublesome security flaws.
The vulnerabilities could allow attackers to crash unpatched versions of the popular open source database server, inject malicious code on servers or hack into accounts without a password, warns German firm e-matters.
Stefan Esser, of e-matters and the PHP.net project, has also unearthed two flaws within MySQL's client library (a heap buffer overflow bug and another glitch that allows crackers to write '\0' to any memory address) that can result in application compromise.
"Both flaws could allow DoS [Denial of Service] attacks against or arbitrary code execution within anything linked against libmysqlclient", he warns.
Fortunately, a fix was made available on December 12. Admins are advised to upgrade to MySQL 3.23.54 which addresses these various vulnerabilities (downloads available here).
PHP includes a copy of libmysql so there's work to be on it as well, as explained in more detail here. ®
Multiple MySQL vulnerabilities (advisory by e-matters)
There's more detail on BugTraq on these various problems:
MySQL Memory Corruption Vulnerability
MySQL Password Memory Corruption Vulnerability
MySQL Password Length Account Compromise Vulnerability
MySQL Library Read_One_Row Buffer Overflow Vulnerability
MySQL Library Read_Rows Buffer Overflow Vulnerability