CVE Vulnerabilities

CVE-2008-5024

XML Injection (aka Blind XPath Injection)

Published: Nov 13, 2008 | Modified: Nov 02, 2018
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW

Mozilla Firefox 3.x before 3.0.4, Firefox 2.x before 2.0.0.18, Thunderbird 2.x before 2.0.0.18, and SeaMonkey 1.x before 1.1.13 do not properly escape quote characters used for XML processing, which allows remote attackers to conduct XML injection attacks via the default namespace in an E4X document.

Weakness

The product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.

Affected Software

Name Vendor Start Version End Version
Firefox Mozilla 2.0 (including) 2.0.0.18 (excluding)
Firefox Mozilla 3.0 (including) 3.0.4 (excluding)
Seamonkey Mozilla 1.0 (including) 1.1.13 (excluding)
Thunderbird Mozilla 2.0 (including) 2.0.0.18 (excluding)
Red Hat Enterprise Linux 2.1 RedHat seamonkey-0:1.0.9-0.21.el2 *
Red Hat Enterprise Linux 3 RedHat seamonkey-0:1.0.9-0.25.el3 *
Red Hat Enterprise Linux 4 RedHat thunderbird-0:1.5.0.12-17.el4 *
Red Hat Enterprise Linux 4 RedHat seamonkey-0:1.0.9-28.el4 *
Red Hat Enterprise Linux 4 RedHat firefox-0:3.0.4-1.el4 *
Red Hat Enterprise Linux 4 RedHat nss-0:3.12.1.1-3.el4 *
Red Hat Enterprise Linux 5 RedHat thunderbird-0:2.0.0.18-1.el5 *
Red Hat Enterprise Linux 5 RedHat devhelp-0:0.12-20.el5 *
Red Hat Enterprise Linux 5 RedHat firefox-0:3.0.4-1.el5 *
Red Hat Enterprise Linux 5 RedHat nss-0:3.12.1.1-3.el5 *
Red Hat Enterprise Linux 5 RedHat xulrunner-0:1.9.0.4-1.el5 *
Red Hat Enterprise Linux 5 RedHat yelp-0:2.16.0-22.el5 *
Firefox Ubuntu dapper *
Firefox Ubuntu gutsy *
Firefox Ubuntu hardy *
Firefox Ubuntu upstream *
Firefox-3.0 Ubuntu devel *
Firefox-3.0 Ubuntu gutsy *
Firefox-3.0 Ubuntu hardy *
Firefox-3.0 Ubuntu intrepid *
Iceape Ubuntu gutsy *
Iceape Ubuntu upstream *
Mozilla-thunderbird Ubuntu dapper *
Seamonkey Ubuntu devel *
Seamonkey Ubuntu hardy *
Seamonkey Ubuntu intrepid *
Seamonkey Ubuntu upstream *
Thunderbird Ubuntu devel *
Thunderbird Ubuntu gutsy *
Thunderbird Ubuntu hardy *
Thunderbird Ubuntu intrepid *
Thunderbird Ubuntu upstream *
Xulrunner Ubuntu devel *
Xulrunner Ubuntu gutsy *
Xulrunner Ubuntu hardy *
Xulrunner Ubuntu intrepid *
Xulrunner-1.9 Ubuntu devel *
Xulrunner-1.9 Ubuntu gutsy *
Xulrunner-1.9 Ubuntu hardy *
Xulrunner-1.9 Ubuntu intrepid *
Xulrunner-1.9 Ubuntu upstream *

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

References