Mozilla Firefox/Thunderbird 16.0.1/16.0.2 JavaScript str_unescape memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.1$0-$5k0.00

A vulnerability was found in Mozilla Firefox and Thunderbird 16.0.1/16.0.2 (Web Browser). It has been declared as critical. This vulnerability affects the function str_unescape of the component JavaScript Handler. The manipulation with the input value "0%u0000".substr(0,2) leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The str_unescape function in the JavaScript engine in Mozilla Firefox before 17.0, Thunderbird before 17.0, and SeaMonkey before 2.14 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via unspecified vectors.

The weakness was disclosed 11/20/2012 by Scott Bell (moz_bug_r_a4) with Security-Assessment.com as MFSA 2012-96 as confirmed advisory (Website). The advisory is available at mozilla.org. The public release has been coordinated in cooperation with the vendor. This vulnerability was named CVE-2012-4204 since 08/08/2012. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

A public exploit has been developed by Scott Bell in Javascript and been published 1 days after the advisory. It is possible to download the exploit at security-assessment.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 62979 (FreeBSD : mozilla -- multiple vulnerabilities (d23119df-335d-11e2-b64c-c8600054b392)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165846 (SUSE Security Update to Firefox 17.0 and other Mozilla (openSUSE-SU-2013:0175-1)).

Upgrading to version 17.0 eliminates this vulnerability. The upgrade is hosted for download at mozilla.org. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (80174) and Tenable (62979). Additional details are provided at bugzilla.mozilla.org.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.0
VulDB Meta Temp Score: 8.1

VulDB Base Score: 9.0
VulDB Temp Score: 8.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Scott Bell
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 62979
Nessus Name: FreeBSD : mozilla -- multiple vulnerabilities (d23119df-335d-11e2-b64c-c8600054b392)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 72599
OpenVAS Name: FreeBSD Ports: firefox
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Firefox/Thunderbird 17.0

Timelineinfo

08/08/2012 🔍
11/20/2012 +104 days 🔍
11/20/2012 +0 days 🔍
11/20/2012 +0 days 🔍
11/20/2012 +0 days 🔍
11/21/2012 +1 days 🔍
11/21/2012 +0 days 🔍
11/21/2012 +0 days 🔍
11/21/2012 +0 days 🔍
11/22/2012 +1 days 🔍
11/23/2012 +1 days 🔍
04/19/2021 +3069 days 🔍

Sourcesinfo

Vendor: mozilla.org
Product: mozilla.org

Advisory: MFSA 2012-96
Researcher: Scott Bell (moz_bug_r_a4)
Organization: Security-Assessment.com
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2012-4204 (🔍)
OVAL: 🔍

X-Force: 80174 - Mozilla Firefox, Thunderbird, and SeaMonkey str_unescape() buffer overflow, High Risk
SecurityTracker: 1027791 - Mozilla Firefox Multiple Bugs Let Remote Users Execute Arbitrary Code and Conduct Cross-Site Scripting Attacks
Vulnerability Center: 37360 - Mozilla Firefox, Thunderbird and SeaMonkey Code Execution Vulnerability - CVE-2012-4204, Critical
SecurityFocus: 56613 - Mozilla Firefox/Thunderbird/SeaMonkey CVE-2012-4204 Heap Buffer Overflow Vulnerability
Secunia: 51358 - Mozilla Firefox / Thunderbird Multiple Vulnerabilities, Highly Critical
OSVDB: 87592

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍

Entryinfo

Created: 11/23/2012 13:21
Updated: 04/19/2021 13:18
Changes: 11/23/2012 13:21 (70), 01/31/2018 09:54 (40), 04/19/2021 13:18 (3)
Complete: 🔍
Cache ID: 3:6F6:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!