7.4high
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…
Published 9 y ago · modified 4 mo ago · JSON
CVSS
7.4
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.5%
percentile 89%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
3.51% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Classification
- Weakness
- CWE-918 Server-Side Request Forgery
- Technology feeds
- PHP (RSS, critical only)
References
- securityfocus.com /bid/97178 · vdb-entry, x_refsource_BID, x_transferred
- securitytracker.com /id/1038158 · vdb-entry, x_refsource_SECTRACK, x_transferred
- bugs.php.net /bug.php?id=75505 · x_refsource_CONFIRM, x_transferred
- github.com /php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a · x_refsource_CONFIRM, x_transferred
- security.netapp.com /advisory/ntap-20180112-0001/ · x_refsource_CONFIRM, x_transferred
- sec-consult.com /fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_functi · x_refsource_MISC, x_transferred
- bugs.php.net /bug.php?id=74216 · x_refsource_CONFIRM, x_transferred
Sources
- CVE List: CVE-2017-7272
- NVD: CVE-2017-7272
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.