// For flags

CVE-2013-0787

Mozilla Firefox nsHTMLEditRules Use-After-Free Remote Code Execution Vulnerability

Severity Score

9.3
*CVSS v2

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Use-after-free vulnerability in the nsEditor::IsPreformatted function in editor/libeditor/base/nsEditor.cpp in Mozilla Firefox before 19.0.2, Firefox ESR 17.x before 17.0.4, Thunderbird before 17.0.4, Thunderbird ESR 17.x before 17.0.4, and SeaMonkey before 2.16.1 allows remote attackers to execute arbitrary code via vectors involving an execCommand call.

Vulnerabilidad en la gestión de recursos en la función nsEditor::IsPreformatted en editor/libeditor/base/nsEditor.cpp en Mozilla Firefox anterior a v19.0.2, Firefox ESR v17.x anterior a v17.0.4, Thunderbird anterior a v17.0.4, Thunderbird ESR v17.x anterior a v17.0.4, y SeaMonkey anterior a v2.16.1 permite a atacantes remotos ejecutar código arbitrario a través de vectores relacionados con la llamada execCommand.

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Mozilla Firefox. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the handling of nsHTMLEditRules objects. By manipulating a document's elements an attacker can force a dangling pointer to be reused after it has been freed. An attacker can leverage this vulnerability to execute code under the context of the current process.

*Credits: VUPEN Security [ http://www.vupen.com ]
CVSS Scores
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2013-01-02 CVE Reserved
  • 2013-03-08 CVE Published
  • 2023-11-27 EPSS Updated
  • 2024-08-06 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-399: Resource Management Errors
  • CWE-416: Use After Free
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Mozilla
Search vendor "Mozilla"
Firefox
Search vendor "Mozilla" for product "Firefox"
<= 19.0.1
Search vendor "Mozilla" for product "Firefox" and version " <= 19.0.1"
-
Affected
Mozilla
Search vendor "Mozilla"
Firefox
Search vendor "Mozilla" for product "Firefox"
19.0
Search vendor "Mozilla" for product "Firefox" and version "19.0"
-
Affected
Mozilla
Search vendor "Mozilla"
Firefox Esr
Search vendor "Mozilla" for product "Firefox Esr"
17.0
Search vendor "Mozilla" for product "Firefox Esr" and version "17.0"
-
Affected
Mozilla
Search vendor "Mozilla"
Firefox Esr
Search vendor "Mozilla" for product "Firefox Esr"
17.0.1
Search vendor "Mozilla" for product "Firefox Esr" and version "17.0.1"
-
Affected
Mozilla
Search vendor "Mozilla"
Firefox Esr
Search vendor "Mozilla" for product "Firefox Esr"
17.0.2
Search vendor "Mozilla" for product "Firefox Esr" and version "17.0.2"
-
Affected
Mozilla
Search vendor "Mozilla"
Firefox Esr
Search vendor "Mozilla" for product "Firefox Esr"
17.0.3
Search vendor "Mozilla" for product "Firefox Esr" and version "17.0.3"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird
Search vendor "Mozilla" for product "Thunderbird"
<= 17.0.3
Search vendor "Mozilla" for product "Thunderbird" and version " <= 17.0.3"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird
Search vendor "Mozilla" for product "Thunderbird"
17.0
Search vendor "Mozilla" for product "Thunderbird" and version "17.0"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird
Search vendor "Mozilla" for product "Thunderbird"
17.0.1
Search vendor "Mozilla" for product "Thunderbird" and version "17.0.1"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird
Search vendor "Mozilla" for product "Thunderbird"
17.0.2
Search vendor "Mozilla" for product "Thunderbird" and version "17.0.2"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird Esr
Search vendor "Mozilla" for product "Thunderbird Esr"
17.0
Search vendor "Mozilla" for product "Thunderbird Esr" and version "17.0"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird Esr
Search vendor "Mozilla" for product "Thunderbird Esr"
17.0.1
Search vendor "Mozilla" for product "Thunderbird Esr" and version "17.0.1"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird Esr
Search vendor "Mozilla" for product "Thunderbird Esr"
17.0.2
Search vendor "Mozilla" for product "Thunderbird Esr" and version "17.0.2"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird Esr
Search vendor "Mozilla" for product "Thunderbird Esr"
17.0.3
Search vendor "Mozilla" for product "Thunderbird Esr" and version "17.0.3"
-
Affected
Mozilla
Search vendor "Mozilla"
Seamonkey
Search vendor "Mozilla" for product "Seamonkey"
<= 2.16
Search vendor "Mozilla" for product "Seamonkey" and version " <= 2.16"
-
Affected
Mozilla
Search vendor "Mozilla"
Seamonkey
Search vendor "Mozilla" for product "Seamonkey"
2.16
Search vendor "Mozilla" for product "Seamonkey" and version "2.16"
beta1
Affected
Mozilla
Search vendor "Mozilla"
Seamonkey
Search vendor "Mozilla" for product "Seamonkey"
2.16
Search vendor "Mozilla" for product "Seamonkey" and version "2.16"
beta2
Affected
Mozilla
Search vendor "Mozilla"
Seamonkey
Search vendor "Mozilla" for product "Seamonkey"
2.16
Search vendor "Mozilla" for product "Seamonkey" and version "2.16"
beta3
Affected
Mozilla
Search vendor "Mozilla"
Seamonkey
Search vendor "Mozilla" for product "Seamonkey"
2.16
Search vendor "Mozilla" for product "Seamonkey" and version "2.16"
beta4
Affected
Mozilla
Search vendor "Mozilla"
Seamonkey
Search vendor "Mozilla" for product "Seamonkey"
2.16
Search vendor "Mozilla" for product "Seamonkey" and version "2.16"
beta5
Affected