Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1404731 - (CVE-2016-9935) CVE-2016-9935 php: Invalid read when wddx decodes empty boolean element
CVE-2016-9935 php: Invalid read when wddx decodes empty boolean element
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20161208,repor...
: Security
Depends On: 1404737 1554854
Blocks: 1404738
  Show dependency treegraph
 
Reported: 2016-12-14 09:07 EST by Adam Mariš
Modified: 2018-05-03 01:05 EDT (History)
18 users (show)

See Also:
Fixed In Version: php 5.6.29, php 7.0.14
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-21 03:56:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1296 None None None 2018-05-03 01:05 EDT

  None (edit)
Description Adam Mariš 2016-12-14 09:07:45 EST
An invalid read occurs when wddx decodes empty boolean element, leading to arbitrary memory read or crash.

Upstream bug:

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

Upstream patch:

https://github.com/php/php-src/commit/66fd44209d5ffcb9b3d1bc1b9fd8e35b485040c0

CVE assignment:

http://seclists.org/oss-sec/2016/q4/658
Comment 1 Adam Mariš 2016-12-14 09:18:47 EST
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1404737]
Comment 4 Cedric Buissart 2017-02-20 11:15:45 EST
This issue happens when untrusted input is unserialized. Doing so is documented as being unsafe:
http://php.net/manual/en/function.wddx-deserialize.php#refsect1-function.wddx-deserialize-notes

Warning
Do not pass untrusted user input to wddx_deserialize(). 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.
Comment 6 errata-xmlrpc 2018-05-03 01:05:41 EDT
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.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS

Via RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296

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