Bug 1315344 (CVE-2016-3185) - CVE-2016-3185 php: Type confusion vulnerability in make_http_soap_request()
Summary: CVE-2016-3185 php: Type confusion vulnerability in make_http_soap_request()
Keywords:
Status: CLOSED DUPLICATE of bug 1323074
Alias: CVE-2016-3185
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:
Depends On: 1315347
Blocks: 1315348
TreeView+ depends on / blocked
 
Reported: 2016-03-07 14:04 UTC by Adam Mariš
Modified: 2019-09-29 13:45 UTC (History)
14 users (show)

Fixed In Version: php 7.0.4
Clone Of:
Environment:
Last Closed: 2016-06-16 11:19:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2016-03-07 14:04:12 UTC
It was found that due to an insufficient validation of the cookies field when making SOAP http request through https://github.com/php/php-src/blob/master/ext/soap/php_http.c#L835 , there is lack of validation of 2nd/3rd elements in cookies array, which results in type confusion when they are no longer string.

Upstream bug:

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

Upstream patch:

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

Comment 1 Adam Mariš 2016-03-07 14:11:23 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1315347]

Comment 2 Andrej Nemec 2016-03-17 08:56:54 UTC
CVE assignment:

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

Comment 3 Tomas Hoger 2016-06-16 11:19:54 UTC
This issue is a sub-set of issues under CVE-2015-8835 (bug 1323074).  It seems the fix for that issue was not properly applied to PHP 7, hence the issue was re-reported there, but was already fixed in PHP 5 versions at the time.

See bug 1323074 comment 1 for more info on the original issue.

*** This bug has been marked as a duplicate of bug 1323074 ***


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