All vulnerabilities

Servers and applications

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. 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.

Severity
High 7.4
Published
27 Mar 2017
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Every version up to 7.1.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-7272
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-7272