TippingPoint Zero Day Initiative

Oracle Java LdapCtx Sandbox Bypass Remote Code Execution Vulnerability

ZDI-13-244: October 16th, 2013


CVSS Score

Affected Vendors

Affected Products

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Oracle Java. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the com.sun.jndi.ldap.LdapCtx class. The issue lies in the ability to call the toString method of an object in a thread with no user stack. An attacker can leverage this vulnerability to execute code under the context of the current process.

Vendor Response

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

Disclosure Timeline

    2013-04-16 - Vulnerability reported to vendor
    2013-10-16 - Coordinated public release of advisory


This vulnerability was discovered by:
    Ben Murphy