Bug 1305551

Summary: php: Crash on bad SOAP request
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: carnil, dmcphers, fedora, hhorak, jialiu, jokerman, jorton, lmeyer, mmaslano, mmccomas, rcollet, webstack-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 5.6.18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-07 21:44:04 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: 1305565    
Bug Blocks: 1305564    

Description Adam Mariš 2016-02-08 14:56:15 UTC
A crash on bad SOAP request when always_populate_raw_post_data is not configured in php.ini or is configured with always_populate_raw_post_data = On. The error handler is overloaded with the SOAP one. However the SOAP handler eventually wants to access some of its globals, but SOAP globals aren't initialized.

Upstream bug:

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

Upstream patch:

https://git.php.net/?p=php-src.git;a=commit;h=4308c868f94df1f2b99e80038ba5ea1076d919a7

Comment 1 Adam Mariš 2016-02-08 15:12:37 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1305565]

Comment 2 Tomas Hoger 2017-09-07 21:44:04 UTC
Currently no plan to backport this fix to PHP versions in already released products.