Bug 1323074 (CVE-2015-8835) - CVE-2015-8835 php: type confusion issue in Soap Client call() method
Summary: CVE-2015-8835 php: type confusion issue in Soap Client call() method
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2015-8835
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
: CVE-2016-3185 (view as bug list)
Depends On:
Blocks: 1315348
TreeView+ depends on / blocked
 
Reported: 2016-04-01 08:09 UTC by Andrej Nemec
Modified: 2019-09-29 13:46 UTC (History)
13 users (show)

Fixed In Version: php 5.4.44, php 5.5.28, php 5.6.12, php 7.0.4
Clone Of:
Environment:
Last Closed: 2016-06-16 10:54:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2750 0 normal SHIPPED_LIVE Moderate: rh-php56 security, bug fix, and enhancement update 2016-11-15 16:40:02 UTC

Description Andrej Nemec 2016-04-01 08:09:44 UTC
SoapClient's __call() method suffers from multiple type confusion issues which could be used to exfiltrate arbitrary memory contents or cause crashe via unsafe unserialize() calls.

A new CVE was assigned for the first part of the following bug:

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

References:

http://seclists.org/oss-sec/2016/q1/695

Upstream fix:

https://git.php.net/?p=php-src.git;a=commitdiff;h=c96d08b27226193dd51f2b50e84272235c6aaa69

Comment 1 Tomas Hoger 2016-06-16 10:54:29 UTC
This issue happens when untrusted input is unserialized.  Doing so it documented as being unsafe:

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

  Do not pass untrusted user input to unserialize(). Unserialization can
  result in code being loaded and executed due to object instantiation and
  autoloading, and a malicious user may be able to exploit this. Use a safe,
  standard data interchange format such as JSON (via json_decode() and
  json_encode()) if you need to pass serialized data to the user.

Affected code is part of the SOAP extension.  In Red Hat products, this extension is packaged separately in the php-soap subpackages.  Systems without php-soap installed can not be affected by this issue.  Removal of the package can be used to mitigate the issue on systems that do not require SOAP extension.

Comment 2 Tomas Hoger 2016-06-16 11:19:54 UTC
*** Bug 1315344 has been marked as a duplicate of this bug. ***

Comment 3 errata-xmlrpc 2016-11-15 11:50:17 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


Note You need to log in before you can comment on or make changes to this bug.