CVE-2017-7272

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

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.

References

http://www.securityfocus.com/bid/97178

http://www.securitytracker.com/id/1038158

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

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

https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a

https://security.netapp.com/advisory/ntap-20180112-0001/

https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt

Details

Source: MITRE

Published: 2017-03-27

Updated: 2018-02-26

Type: CWE-918

Risk Information

CVSS v2

Base Score: 5.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

Impact Score: 4.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 7.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N

Impact Score: 4

Exploitability Score: 2.8

Severity: HIGH

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to 7.1.3 (inclusive)

Tenable Plugins

View all (10 total)

IDNameProductFamilySeverity
137966EulerOS Virtualization 3.0.6.0 : php (EulerOS-SA-2020-1747)NessusHuawei Local Security Checks
critical
136245EulerOS Virtualization for ARM 64 3.0.2.0 : php (EulerOS-SA-2020-1542)NessusHuawei Local Security Checks
high
135137EulerOS Virtualization for ARM 64 3.0.6.0 : php (EulerOS-SA-2020-1350)NessusHuawei Local Security Checks
medium
134006EulerOS 2.0 SP8 : php (EulerOS-SA-2020-1172)NessusHuawei Local Security Checks
medium
133925EulerOS 2.0 SP5 : php (EulerOS-SA-2020-1124)NessusHuawei Local Security Checks
critical
132184EulerOS 2.0 SP3 : php (EulerOS-SA-2019-2649)NessusHuawei Local Security Checks
critical
131592EulerOS 2.0 SP2 : php (EulerOS-SA-2019-2438)NessusHuawei Local Security Checks
critical
101107SUSE SLES11 Security Update : php53 (SUSE-SU-2017:1709-1)NessusSuSE Local Security Checks
high
100866SUSE SLES11 Security Update : php53 (SUSE-SU-2017:1585-1)NessusSuSE Local Security Checks
critical
99003Debian DLA-875-1 : php5 security updateNessusDebian Local Security Checks
critical