TippingPoint Zero Day Initiative

Oracle Database Server SQL QName Remote Code Execution Vulnerability

ZDI-13-199: August 13th, 2013


CVSS Score

Affected Vendors

Affected Products

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Oracle Database. Authentication is not required to exploit this vulnerability.

The specific flaw exists in the LpxFSMDom function. This function is responsible for parsing SQL commands through XML. A specially crafted QName used in a SQL SELECT command can result in a stack overflow. An attacker can leverage this vulnerability to execute code under the context of the process.

Vendor Response

Oracle has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2012-11-21 - Vulnerability reported to vendor
    2013-08-13 - Coordinated public release of advisory


This vulnerability was discovered by:
    Nicolas Gregoire