High severity · published Mar 27, 2017
CVE-2017-7272
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
7.4
CVSS
3.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)3.5% · higher than 89% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 7.1.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-7272
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-7272
Third Party Advisory
http://www.securityfocus.com/bid/97178
www.securitytracker.com
http://www.securitytracker.com/id/1038158
Issue Tracking
https://bugs.php.net/bug.php?id=74216
bugs.php.net
https://bugs.php.net/bug.php?id=75505
Issue Tracking
https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a
security.netapp.com
https://security.netapp.com/advisory/ntap-20180112-0001/
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
