• Close
  • Back to search

    Java Applet Driver Manager Privileged toString() Remote Code Execution

    This module abuses the java.sql.DriverManager class where the toString() method is called over user supplied classes from a doPrivileged block. The vulnerability affects Java version 7u17 and earlier. This exploit bypasses click-to-play on Internet Explorer and throws a specially crafted JNLP file. This bypass is applicable mainly to IE, where Java Web Start can be launched automatically through the ActiveX control. Otherwise, the applet is launched without click-to-play bypass.

    Free Metasploit Download

    Get your copy of the world's leading penetration testing tool

     Download Now

    Module Name



    • James Forshaw
    • juan vazquez <juan.vazquez [at] metasploit.com>



    • Generic (Java Payload)
    • Windows x86 (Native Payload)
    • Mac OS X x86 (Native Payload)
    • Linux x86 (Native Payload)


    • java
    • linux
    • osx
    • windows


    • java
    • x86



    Module Options

    To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

    msf > use exploit/multi/browser/java_jre17_driver_manager msf exploit(java_jre17_driver_manager) > show targets ...targets... msf exploit(java_jre17_driver_manager) > set TARGET <target-id> msf exploit(java_jre17_driver_manager) > show options ...show and set options... msf exploit(java_jre17_driver_manager) > exploit

    Related Vulnerabilities