MySQL XPath Expression Remote Denial Of Service Vulnerability

BID:33972

Info

MySQL XPath Expression Remote Denial Of Service Vulnerability

Bugtraq ID: 33972
Class: Design Error
CVE: CVE-2009-0819
Remote: Yes
Local: No
Published: Feb 14 2009 12:00AM
Updated: Mar 10 2009 10:16PM
Credit: Shane Bester
Vulnerable: MySQL AB MySQL 6.0.9
MySQL AB MySQL 6.0.8
MySQL AB MySQL 6.0.7
MySQL AB MySQL 6.0.6
MySQL AB MySQL 6.0.4
MySQL AB MySQL 6.0.3
MySQL AB MySQL 6.0.2
MySQL AB MySQL 6.0.1
MySQL AB MySQL 6.0
MySQL AB MySQL 5.1.31
MySQL AB MySQL 5.1.30
MySQL AB MySQL 5.1.26
MySQL AB MySQL 5.1.23
MySQL AB MySQL 5.1.22
MySQL AB MySQL 5.1.18
MySQL AB MySQL 5.1.17
MySQL AB MySQL 5.1.16
MySQL AB MySQL 5.1.15
MySQL AB MySQL 5.1.14
MySQL AB MySQL 5.1.13
MySQL AB MySQL 5.1.12
MySQL AB MySQL 5.1.11
MySQL AB MySQL 5.1.10
MySQL AB MySQL 5.1.9
MySQL AB MySQL 5.1.6
MySQL AB MySQL 5.1.5
Not Vulnerable: MySQL AB MySQL 5.1.32

Discussion

MySQL XPath Expression Remote Denial Of Service Vulnerability

MySQL is prone to a remote denial-of-service vulnerability because it fails to handle certain XPath expressions.

An attacker can exploit this issue to crash the application, denying access to legitimate users.

This issue affects:

MySQL 5.1.31 and earlier
MySQL 6.0.9 and earlier

Exploit / POC

MySQL XPath Expression Remote Denial Of Service Vulnerability

The following proof-of-concept queries are available:

select updatexml('','0/a','');
select extractvalue('','0/a');

Solution / Fix

MySQL XPath Expression Remote Denial Of Service Vulnerability

Solution:
The vendor has released updates. Please see the references for more information.

References

MySQL XPath Expression Remote Denial Of Service Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report