TippingPoint Zero Day Initiative

Oracle Database Java Stored Procedure Race Condition Remote Code Execution Vulnerability

ZDI-10-201: October 12th, 2010


CVSS Score

Affected Vendors

Affected Products

Vulnerability Details

This vulnerability allows remote attackers to break out of the Java Sandbox implemented by Oracle's relational database. Authentication is required in that a user must be able to create a Java stored procedure to trigger the issue.

The specific flaw exists within Oracle's custom SecurityManager implementation. Due to the implementation's dependence on a flag of a particular object to determine success or failure of a privileged call, a race condition exists which will allow one to execute Java code bypassing the sandbox. Successful exploitation will allow an attacker to execute arbitrary code in the context of the server.

Vendor Response

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

Disclosure Timeline

    2010-01-15 - Vulnerability reported to vendor
    2010-10-12 - Coordinated public release of advisory


This vulnerability was discovered by:
    Sami Koivu