Bug 1338896 (CVE-2015-8876)

Summary: CVE-2015-8876 php: Zend/zend_exceptions.c does not validate certain Exception objects
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, dmcphers, fedora, hhorak, jialiu, jokerman, jorton, kseifried, lmeyer, mmccomas, rcollet, tiwillia, webstack-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 5.4.44, php 5.5.28, php 5.6.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-01 14:44:34 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:
Bug Depends On: 1338927    
Bug Blocks: 1338914    

Description Andrej Nemec 2016-05-23 15:25:42 UTC
A vulnerability was found in php. Zend/zend_exceptions.c in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 does not validate certain Exception objects, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) or trigger unintended method execution via crafted serialized data.

Upstream bug:

https://bugs.php.net/bug.php?id=70121

Comment 1 Andrej Nemec 2016-05-23 16:35:57 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1338927]

Comment 2 Tomas Hoger 2016-06-01 14:44:34 UTC
This issue is triggered by deserialization of untrusted input - which is something explicitly documented as insecure:

http://php.net/manual/en/function.unserialize.php

Comment 3 errata-xmlrpc 2016-11-15 11:52:33 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2016:2750 https://rhn.redhat.com/errata/RHSA-2016-2750.html