Heap-based buffer overflow in icedtea-web - CVE-2012-4540

 

Heap-based buffer overflow in icedtea-web - CVE-2012-4540

Published: November 11, 2012 / Updated: July 28, 2020


Vulnerability identifier: #VU32732
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2012-4540
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: redhat
Affected software:
icedtea-web

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Off-by-one error in the invoke function in IcedTeaScriptablePluginObject.cc in IcedTea-Web 1.1.x before 1.1.7, 1.2.x before 1.2.2, 1.3.x before 1.3.1, and 1.4.x before 1.4.1. A remote attacker can use a crafted webpage that triggers a heap-based buffer overflow to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2012-4540

Update to version 1.1.7.

Sources