Executive Summary

Summary
Titlephp security update
Informations
NameRHSA-2011:0195First vendor Publication2011-02-03
VendorRedHatLast vendor Modification2011-02-03
Severity (Vendor) ModerateRevision01

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score6.8Attack RangeNetwork
Cvss Impact Score6.4Attack ComplexityMedium
Cvss Expoit Score8.6AuthentificationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

Problem Description:

Updated php packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

3. Description:

PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Server.

A flaw was found in the way PHP converted certain floating point values
from string representation to a number. If a PHP script evaluated an
attacker's input in a numeric context, the PHP interpreter could cause high
CPU usage until the script execution time limit is reached. This issue only
affected i386 systems. (CVE-2010-4645)

A numeric truncation error and an input validation flaw were found in the
way the PHP utf8_decode() function decoded partial multi-byte sequences
for some multi-byte encodings, sending them to output without them being
escaped. An attacker could use these flaws to perform a cross-site
scripting attack. (CVE-2009-5016, CVE-2010-3870)

A NULL pointer dereference flaw was found in the PHP
ZipArchive::getArchiveComment function. If a script used this function to
inspect a specially-crafted ZIP archive file, it could cause the PHP
interpreter to crash. (CVE-2010-3709)

All php users should upgrade to these updated packages, which contain
backported patches to resolve these issues. After installing the updated
packages, the httpd daemon must be restarted for the update to take effect.

4. Solution:

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

649056 - CVE-2010-3870 php: XSS mitigation bypass via utf8_decode()
651206 - CVE-2010-3709 php: NULL pointer dereference in ZipArchive::getArchiveComment
652836 - CVE-2009-5016 php: XSS and SQL injection bypass via crafted overlong UTF-8 encoded string
667806 - CVE-2010-4645 php: hang on numeric value 2.2250738585072011e-308 with x87 fpu

Original Source

Url : https://rhn.redhat.com/errata/RHSA-2011-0195.html

CWE : Common Weakness Enumeration

idName
CWE-189Numeric Errors
CWE-20Improper Input Validation

CPE : Common Platform Enumeration

TypeDescriptionCount
Application114

ExploitDB Exploits

idDescription
2010-11-05PHP 5.3.3/5.2.14 ZipArchive::getArchiveComment NULL Pointer Deference

Open Source Vulnerability Database (OSVDB)

idDescription
70370PHP strtod.c zend_strtod Function x87 FPU Register DoS
69230PHP utf8_decode Function UTF-8 Encoding / Data Crafted String Protection Mech...
69227PHP ext/xml/xml.c xml_utf8_decode Function UTF-8 Encoding Remote Overflow
69109PHP ZipArchive::getArchiveComment Function Crafted ZIP Archive NULL Dereferen...