CVE-2017-7272

Publication date 27 March 2017

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.4 · High

Score breakdown

PHP through 7.1.11 enables potential SSRF in applications that accept an fsockopen or pfsockopen hostname argument with an expectation that the port number is constrained. Because a :port syntax is recognized, fsockopen will use the port number that is specified in the hostname argument, instead of the port number in the second argument of the function.

Read the notes from the security team

Status

Package Ubuntu Release Status
php5 17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Ignored
12.04 LTS precise Ignored end of life
php7.0 17.04 zesty Ignored
16.10 yakkety Ignored end of life
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
12.04 LTS precise Not in release
php7.1 17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Not in release

Notes


mdeslaur

the change in behaviour broke applications relying on undocumented behaviour so was reverted in subsequent releases We will not be fixing this in stable releases. Marking as ignored.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
php7.0

Severity score breakdown

Parameter Value
Base score 7.4 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Changed
Confidentiality None
Integrity impact High
Availability impact None
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N