Bug 229013

Summary: CVE-2007-0906 PHP security issues (CVE-2007-0907, CVE-2007-0908, CVE-2007-0909, CVE-2007-0910, CVE-2007-0988)
Product: Red Hat Enterprise Linux 5 Reporter: Joe Orton <jorton>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: source=internet,public=20070208,reported=20070208,impact=important
Fixed In Version: RHSA-2007-0082 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-14 14:57:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Orton 2007-02-16 15:03:44 UTC
+++ This bug was initially created as a clone of Bug #228858 +++

Description of problem:
1. If unserializing untrusted data on 64-bit platforms the
zend_hash_init() function can be forced to enter an infinite loop,
consuming CPU resources, for a limited length of time, until the
script timeout alarm aborts the script  (CVE-NO-NAME)

2. If a script uses the imap_mail_compose() function to create a new MIME
message based on an input body from an untrusted source, an attacker may be able
to force a heap overflow (CVE-2006-0906)

3. If the format string could passed to one of the functions in the printf()
family could be controlled by an attacker via untrusted data, then an
out-of-bounds memory read could crash the Apache child process (CVE-2006-0909)

4. If very long strings are passed to the str_replace() function then an integer
overflow could occur in memory allocation, which could lead to a heap buffer
overflow.  (CVE-2006-0906)

5. If the wddx extension is used to import WDDX data from an untrusted source,
certain WDDX input packets may allow a random portion of heap memory to be
exposed.  (CVE-2006-0908)

6. If the odbc_result_all() function is used to display
data from a database, and the contents of the database table are under
the control of an attacker, a format string vulnerability is possible.
(CVE-2006-0909)

7. Unspecified stack overflows and stack corruptions, and super-global clobbers
vulnerabilities in the session extension.  (CVE-2006-0906, CVE-2006-0910)

Affects: RHEL3, RHEL4

-- Additional comment from mjc on 2007-02-16 05:40 EST --
CVE-2007-0988 for " 1. If unserializing untrusted data on 64-bit platforms the
zend_hash_init() function can be forced to enter an infinite loop, consuming CPU
resources, for a limited length of time, until the script timeout alarm aborts
the script"

Comment 6 Red Hat Bugzilla 2007-03-14 14:57:17 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0082.html