CVE-2009-4142

Impact:
Moderate
Public Date:
2009-10-06
Bugzilla:
548516: CVE-2009-4142 php: htmlspecialchars() insufficient checking of input for multi-byte encodings

The MITRE CVE dictionary describes this issue as:

The htmlspecialchars function in PHP before 5.2.12 does not properly handle (1) overlong UTF-8 sequences, (2) invalid Shift_JIS sequences, and (3) invalid EUC-JP sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks by placing a crafted byte sequence before a special character.

Find out more about CVE-2009-4142 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 4.3
Base Metrics AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 5 (php) RHSA-2010:0040 2010-01-13
Red Hat Enterprise Linux 3 (php) RHSA-2010:0040 2010-01-13
Red Hat Enterprise Linux 4 (php) RHSA-2010:0040 2010-01-13

Last Modified

CVE description copyright © 2017, The MITRE Corporation

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.