Back
CVE-2017-7272
PHP through 7.1.11 enables potential SSRF in applications that accept an fsockopen or pfsockopen hostname argument with an expectation…
High7.4EPSS 3.5%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 3.5% · top 11% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.4.
Weakness
Affected products
n/a
- affected n/a
References (7)
- 97178 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 1038158 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://bugs.php.net/bug.php?id=75505 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://security.netapp.com/advisory/ntap-20180112-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.php.net/bug.php?id=74216 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-7272)Record last updated .