SSRF in PHP
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.035 (88.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.035 · newest: 0.035 · change: 0.000
Affected products
Weakness classification (CWE)
References
- www.securityfocus.com/bid/97178 (VDB Entry, Third Party Advisory, vdb-entry)
- www.securitytracker.com/id/1038158 (vdb-entry)
- bugs.php.net/bug.php
- github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a (Patch, Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20180112-0001/
- www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_M…
- bugs.php.net/bug.php (Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2017-7272?
- CVE-2017-7272 is a high-severity vulnerability in PHP, classified under Server-Side Request Forgery (SSRF). CVSS score: 7.4/10. Published 2017-03-27.
- How severe is CVE-2017-7272?
- High severity. CVSS v3 base score is 7.4 out of 10.