{"id":"CVE-2017-7272","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-7272","generatedAt":"2026-10-28T20:09:06.967Z","title":"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.","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.","published":"2017-03-27T17:59:01.000Z","lastModified":"2026-06-17T01:23:59.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.4,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"},"cwe":["CWE-918"],"affected":["php/php"],"epss":{"score":0.03514,"percentile":0.89146,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (3.51%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://www.securityfocus.com/bid/97178","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1038158","source":"cve@mitre.org"},{"url":"https://bugs.php.net/bug.php?id=74216","tags":["Issue Tracking","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://bugs.php.net/bug.php?id=75505","source":"cve@mitre.org"},{"url":"https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","source":"cve@mitre.org"},{"url":"https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/97178","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1038158","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=74216","tags":["Issue Tracking","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=75505","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-7272","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}