DoS via XPath Expression in MySQL ExtractValue/UpdateXML
In MySQL 5.1 before 5.1.32 and 6.0 before 6.0.10, the functions ExtractValue() and UpdateXML() in sql/item_xmlfunc.cc are vulnerable to a denial of service condition. Remote authenticated users can trigger an assertion failure and crash the server by supplying an XPath expression that uses a scalar expression as a FilterExpr, causing the server to terminate unexpectedly.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote authenticated users to crash the MySQL server, resulting in a denial of service. This can disrupt database availability for all users and applications relying on the affected MySQL instance.
If you can’t patch tonight, do this now.
Restrict access to the ExtractValue() and UpdateXML() functions to trusted users only. Monitor and audit database usage for suspicious or malformed XPath expressions. Apply least privilege principles to database accounts.
Patch, then assume compromise.
Upgrade MySQL to version 5.1.32, 6.0.10, or later, where the issue has been addressed. Ensure all deployments are running a non-vulnerable version.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.