Exploit database

Vulnerability

CVE-2013-1488

Vulnerability details

Score
10.0
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:C/I:C/A:C

Description

The Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 17 and earlier, and OpenJDK 6 and 7, allows remote attackers to execute arbitrary code via unspecified vectors involving reflection, Libraries, "improper toString calls," and the JDBC driver manager, as demonstrated by James Forshaw during a Pwn2Own competition at CanSecWest 2013.

CVE Program

Exploit source choices

3 sources
Java Applet Driver Manager Privileged toString() Remote Code Execution
MSF-multi--browser--java_jre17_driver_managerMetasploitJava,Linux,OSX,Windows / remote

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.

2013-01-10java_jre17_driver_manager.rb
v-p-b/buherablog-cve-2013-1488
GH-e4531bcff65f7bb39fd357eb17938197GitHubUnofficial GitHub source

PoC Java exploit based on http://www.contextis.com/research/blog/java-pwn2own/

2015-04-168 files · 4 stars