Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1330418 - (CVE-2015-8866) CVE-2015-8866 php: libxml_disable_entity_loader setting is shared between threads
CVE-2015-8866 php: libxml_disable_entity_loader setting is shared between thr...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20160421,reported=2...
: Security
Depends On:
Blocks: 1323121
  Show dependency treegraph
 
Reported: 2016-04-26 04:11 EDT by Martin Prpič
Modified: 2017-11-29 09:42 EST (History)
15 users (show)

See Also:
Fixed In Version: php 5.5.34, php 5.6.20, php 7.0.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-23 07:04:04 EDT
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-2016:2750 normal SHIPPED_LIVE Moderate: rh-php56 security, bug fix, and enhancement update 2016-11-15 11:40:02 EST

  None (edit)
Description Martin Prpič 2016-04-26 04:11:03 EDT
It was discovered that the PHP libxml_disable_entity_loader() setting was shared between threads. When running under PHP-FPM, this could result in XML external entity injection and entity expansion issues.

Upstream bug:

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

Upstream patch:

https://git.php.net/?p=php-src.git;a=commit;h=de31324c221c1791b26350ba106cc26bad23ace9
Comment 1 Martin Prpič 2016-04-26 04:12:34 EDT
Fixed in Fedora:

php-5.6.20-1.fc23
php-5.6.20-1.fc24
php-5.6.20-1.fc22
Comment 2 Remi Collet 2016-04-26 05:26:38 EDT
Notice: this bug is fixed since 5.5.22 / 5.6.6

Default value is entity_loader_disabled=0, which means external entity is enabled by default.

Because of this bug it can be wrongly set to disabled between various request.

So, I don't think this is a "security" issue.
Comment 3 errata-xmlrpc 2016-11-15 06:51:11 EST
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
Comment 4 Remi Collet 2017-11-29 09:42:44 EST
Notice that this issue was not fixed for FPM.

See https://bugs.php.net/bug.php?id=64938

The fix will be in upcoming 7.0.27 / 7.1.13 / 7.2.1

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