CVE-2013-2470 : Detail

CVE-2013-2470

90.56%V3
Network
2013-06-18
20h00 +00:00
2018-01-04
18h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 21 and earlier, 6 Update 45 and earlier, and 5.0 Update 45 and earlier, and OpenJDK 7, allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to 2D. NOTE: the previous information is from the June 2013 CPU. Oracle has not commented on claims from another vendor that this issue allows remote attackers to bypass the Java sandbox via vectors related to "ImagingLib byte lookup processing."

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE Other No informations.

Metrics

Metrics Score Severity CVSS Vector Source
V2 10 AV:N/AC:L/Au:N/C:C/I:C/A:C [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 28050

Publication date : 2013-09-02 22h00 +00:00
Author : GuHe
EDB Verified : No

# Exploit Title: Oracle Java lookupByteBI function heap buffer overflow # Google Dork: # Date: 2013-09-03 # Exploit Author: GuHe # Vendor Homepage: http://www.oracle.com/ # Software Link: http://www.oracle.com/technetwork/java/javase/downloads/index.html # Version: 7u21 and eariler # Tested on: Windows 7 # CVE : CVE-2013-2470 PoC: https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/28050.zip CVE-2013-2470 - Java_sun_awt_image_ImagingLib_lookupByteBI heap buffer overflow 1. Affected Software JRE 7 update 21 and earlier JRE 6 update 45 and earlier 2. Root cause analysis The "Java_sun_awt_image_ImagingLib_lookupByteBI" performs byte lookup operation on two BufferedImage. In the following code: /* Mlib needs 16bit lookuptable and must be signed! */ if (src->type == MLIB_SHORT) { unsigned short *sdataP = (unsigned short *) src->data; unsigned short *sP; if (dst->type == MLIB_BYTE) { unsigned char *cdataP = (unsigned char *) dst->data; unsigned char *cP; if (nbands > 1) { retStatus = 0; } else { int x, y; for (y=0; y < src->height; y++) { cP = cdataP; sP = sdataP; for (x=0; x < src->width; x++) { *cP++ = table[0][*sP++]; } /* * 4554571: increment pointers using the scanline stride * in pixel units (not byte units) */ cdataP += dstImageP->raster.scanlineStride; sdataP += srcImageP->raster.scanlineStride; } } } /* How about ddata == null? */ } It tries to map data in src raster to the dst raster. The total bytes written to dst rater buffer is: (src->width) * (src->height). However, it does not correctly check the size of the dst buffer, if the size of the dst buffer is smaller than (src->width) * (src->height), it will be overflowed. 3. Poc See "TestByteBI.java" for the source code. And you can test the poc by directly open the "HelloApplet.html" in a web browser. 4. Tested on JRE 7 update 21 on Windows 7 Enterprise

Products Mentioned

Configuraton 0

Oracle>>Jre >> Version To (including) 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Configuraton 0

Oracle>>Jdk >> Version To (including) 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Configuraton 0

Oracle>>Jre >> Version To (including) 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Sun>>Jre >> Version 1.6.0

Configuraton 0

Oracle>>Jdk >> Version To (including) 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Sun>>Jdk >> Version 1.6.0

Configuraton 0

Oracle>>Jre >> Version To (including) 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Sun>>Jre >> Version 1.5.0

Configuraton 0

Oracle>>Jdk >> Version To (including) 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

Sun>>Jdk >> Version 1.5.0

References

http://rhn.redhat.com/errata/RHSA-2013-1060.html
Tags : vendor-advisory, x_refsource_REDHAT
http://marc.info/?l=bugtraq&m=137545592101387&w=2
Tags : vendor-advisory, x_refsource_HP
https://access.redhat.com/errata/RHSA-2014:0414
Tags : vendor-advisory, x_refsource_REDHAT
http://security.gentoo.org/glsa/glsa-201406-32.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://marc.info/?l=bugtraq&m=137545505800971&w=2
Tags : vendor-advisory, x_refsource_HP
http://secunia.com/advisories/54154
Tags : third-party-advisory, x_refsource_SECUNIA
http://rhn.redhat.com/errata/RHSA-2013-1455.html
Tags : vendor-advisory, x_refsource_REDHAT
http://rhn.redhat.com/errata/RHSA-2013-1059.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.securityfocus.com/bid/60651
Tags : vdb-entry, x_refsource_BID
http://rhn.redhat.com/errata/RHSA-2013-1081.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.us-cert.gov/ncas/alerts/TA13-169A
Tags : third-party-advisory, x_refsource_CERT
http://rhn.redhat.com/errata/RHSA-2013-0963.html
Tags : vendor-advisory, x_refsource_REDHAT
http://rhn.redhat.com/errata/RHSA-2013-1456.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.mandriva.com/security/advisories?name=MDVSA-2013:183
Tags : vendor-advisory, x_refsource_MANDRIVA