vendor:
Java Runtime Environment
by:
Yag Kohha
7.5
CVSS
HIGH
Buffer Overflow
119
CWE
Product Name: Java Runtime Environment
Affected Version From: jre1.6.0_X
Affected Version To: jre1.6.0_X
Patch Exists: NO
Related CWE: Not provided
CPE: :j:java:runtime_environment:1.6.0_X
Platforms Tested:
2007
Sun (jre1.6.0_X) isInstalled.dnsResolve function overflow PoC
The exploit triggers a buffer overflow in the isInstalled.dnsResolve function in Sun's JRE version 1.6.0_X. The provided code by Yag Kohha creates a string 'b' and continuously appends it to itself until its length exceeds 512*512. This causes the buffer overflow when the dnsResolve function is called with 'b' as the argument.
Mitigation:
Apply relevant patches and updates from Sun to fix the buffer overflow vulnerability.