Multiple Vulnerabilities in Mozilla Firefox Could Allow for Arbitrary Code Execution

ITS Advisory Number: 
2015-132
Date(s) Issued: 
Wednesday, November 4, 2015
Subject: 
Multiple Vulnerabilities in Mozilla Firefox Could Allow for Arbitrary Code Execution
Overview: 

Multiple vulnerabilities have been identified in Mozilla Firefox, which could allow for arbitrary code execution. Mozilla Firefox is a web browser used to access the Internet. Mozilla Firefox ESR is a version of the web browser intended to be deployed in large organizations. Successful exploitation of these vulnerabilities could result in an attacker gaining the same privileges as the logged on user. Depending on the privileges associated with the user, an attacker could install programs; view, change, or delete data; or create new accounts with full user rights.

Systems Affected: 
  • Mozilla Firefox versions prior to 42
  • Mozilla Firefox ESR versions prior to 38.4
RISK
GOVERNMENT
Large and medium government entities: 
High
Small government entities: 
High
BUSINESS
Large and medium business entities: 
High
Small business entities: 
High
Home Users: 
High
Description: 

Mozilla has confirmed multiple vulnerabilities in Firefox, Firefox ESR, and Firefox OS. Exploitation of these vulnerabilities could allow for arbitrary code execution in the context of the logged on user or vulnerable application, crash the affected application, disclose sensitive information, bypass the same-origin policy and other security restrictions, and perform unauthorized actions. These vulnerabilities could be exploited if a user visits or is redirected to a specially-crafted webpage or opens a specially-crafted file. Details of these vulnerabilities are as follows:

  • A buffer-overflow vulnerability because it fails to adequately bounds-check user-supplied data before copying it into an insufficiently sized buffer. Specifically, this issue affects the 'TextureStorage11' module of the 'ANGLE' graphics library. (CVE-2015-7198)
  • A memory-corruption vulnerability occurs due to use-after-poison error. Specifically, this issue affects the 'sec_asn1d_parse_leaf()' function of ASN.1 decoder. (CVE-2015-7181)
  • A heap-based buffer-overflow vulnerability because it fails to adequately bounds-check user-supplied data before copying it into an insufficiently sized buffer. Specifically, this issue occurs when parsing octet string. (CVE-2015-7182)
  • A memory-corruption vulnerability occurs due to a buffer underflow error.  Specifically, this issue affects the 'libjar' library. An attacker can exploit this issue through a specially crafted ZIP file. (CVE-2015-7194)
  • Multiple security-bypass vulnerabilities because it fails to properly perform proper status check in SVG rendering process and cryptographic key manipulation. Specifically, these issues affect the 'AddWeightedPathSegLists' and 'SVGPathSegListSMILType::Interpolate' modules. (CVE-2015-7199, CVE-2015-7200)
  • A denial-of-service vulnerability occurs due to an error in interaction between 'Java applets' and 'JavaScript'. Specifically, this issue occurs because the Java plugin deallocates a JavaScript wrapper when it is still in use. This issue is specific to systems where Java is installed and enabled as a browser plugin.  (CVE-2015-7196)
  • A same-origin security-bypass vulnerability occurs due to an error in processing multiple media types in 'Content-Type' headers from a server. An attacker can exploit this issue to bypass Cross-origin resource sharing (CORS) and 'preflight' with simple requests against the CORS specification. (CVE-2015-7193)
  • A heap-based buffer-overflow vulnerability because it fails to adequately bounds-check user-supplied data before copying it into an insufficiently sized buffer. Specifically, this issue affects the 'nsJPEGEncoder()' function. This issue occurs during script interactions with a 'canvas' element. (CVE-2015-7189)
  • Multiple security-bypass vulnerabilities occurs due to memory-safety errors. Specifically, this issue occurs in the browser engine. An attacker can exploit these issues to execute arbitrary code or cause denial-of-service condition. (CVE-2015-7188)
  • Multiple security-bypass vulnerabilities occurs due to memory-safety errors. Specifically, these issues occurs in the browser engine. An attacker can exploit these issues to execute arbitrary code or cause denial-of-service condition. (CVE-2015-4513, CVE-2015-4514)
  • A security-bypass vulnerability. Specifically, this issue occurs because it is possible to bypass secure requirements for 'WebSockets' when web workers are used to create WebSockets. (CVE-2015-7197)
  • An information-disclosure vulnerability. Specifically, the issue occurs because 'Workstation' field is populated with the hostname of the system making the request. An attacker can exploit this issue by sending a specially crafted web page to disclose the hostname and windows domain through NTLM-based HTTP authentication.  (CVE-2015-4515)
  • A security-bypass vulnerability because Reader View disables script for rendered pages through a whitelist of allowed HTML content. An attacker can exploit this issue by sending a specially crafted web page to bypass content security policy (CSP) protections and may allow cross-site scripting attacks. (CVE-2015-4518)
  • A security-bypass vulnerability because it fails to restore the address bar after exiting the fullscreen mode. An attacker can exploit this issue to spoof the address bar. (CVE-2015-7185)
  • A security-bypass vulnerability because it allows a locally saved HTML file to use 'file:>/code>' URIs. An attacker can exploit this issue to bypass same-origin policy and trigger the download of additional files or open cached profile data.  (CVE-2015-7186)
  • A security-bypass vulnerability because it allows to execute an inline script of the extension even when it is disabled. An attacker can exploit this issue to execute an arbitrary extension.   (CVE-2015-7187)
  • A privilege-escalation vulnerability because it execute an URL with system privileges when crash reporter is used. Specifically, this issue occurs when it is launched through an Android intent. An attacker can exploit this issue to read local log files, access private information and load local HTML files through 'file:' URIs. This issue affects Android versions 4.4 and earlier only. (CVE-2015-7190)
  • A cross-site scripting vulnerability because it fails to properly sterilize opened addresses sent to Firefox through intents. An attacker can exploit this issue through Android intents and fallback navigation. (CVE-2015-7191)
  • A denial-of-service vulnerability occurs when an accessibility tool requests the index of a table row through the 'NSAccessibilityIndexAttribute' value. Specifically, this issue affects the accessibility tools on OS X. An attacker can exploit this issue to crash the application. This issue is specific to Mac OS X systems only. (CVE-2015-7192)
  • A security-bypass vulnerability because it fails to properly parse URLs with certain escaped characters in hostnames. An attacker can exploit this issue to potential extraction of site specific tokens. (CVE-2015-7195)
Actions: 
  • Apply appropriate updates provided by Mozilla to vulnerable systems, immediately after appropriate testing.
  • Run all software as a non-privileged user (one without administrative privileges) to diminish the effects of a successful attack.
  • Remind users not to visit un-trusted websites or follow links provided by unknown or un-trusted sources.
  • Inform and educate users regarding the threats posed by hypertext links contained in emails or attachments especially from un-trusted sources.
References: 

Mozilla:

https://www.mozilla.org/en-US/security/advisories/mfsa2015-116

https://www.mozilla.org/en-US/security/advisories/mfsa2015-117

https://www.mozilla.org/en-US/security/advisories/mfsa2015-118

https://www.mozilla.org/en-US/security/advisories/mfsa2015-119

https://www.mozilla.org/en-US/security/advisories/mfsa2015-120

https://www.mozilla.org/en-US/security/advisories/mfsa2015-121

https://www.mozilla.org/en-US/security/advisories/mfsa2015-122

https://www.mozilla.org/en-US/security/advisories/mfsa2015-123

https://www.mozilla.org/en-US/security/advisories/mfsa2015-124

https://www.mozilla.org/en-US/security/advisories/mfsa2015-125

https://www.mozilla.org/en-US/security/advisories/mfsa2015-126

https://www.mozilla.org/en-US/security/advisories/mfsa2015-127

https://www.mozilla.org/en-US/security/advisories/mfsa2015-128

https://www.mozilla.org/en-US/security/advisories/mfsa2015-129

https://www.mozilla.org/en-US/security/advisories/mfsa2015-130

https://www.mozilla.org/en-US/security/advisories/mfsa2015-131

https://www.mozilla.org/en-US/security/advisories/mfsa2015-132

https://www.mozilla.org/en-US/security/advisories/mfsa2015-133

CVE:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4513

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4514

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4515

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4518

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7185

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7186

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7187

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7188

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7189

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7190

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7191

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7192

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7193

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7194

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7195

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7196

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7197

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7198

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7199

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7200

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7181

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7182

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7183