{"id":"CVE-2017-7272","state":"PUBLISHED","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. Because ","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.","publishedAt":"2017-03-27T17:00:00.000Z","updatedAt":"2024-08-05T15:56:36.360Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/97178","http://www.securitytracker.com/id/1038158","https://bugs.php.net/bug.php?id=75505","https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a","https://security.netapp.com/advisory/ntap-20180112-0001/","https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt","https://bugs.php.net/bug.php?id=74216"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:54.997Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/7xxx/CVE-2017-7272.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-7272","state":"PUBLISHED","datePublished":"2017-03-27T17:00:00.000Z","dateUpdated":"2024-08-05T15:56:36.360Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2017-03-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/97178","name":"97178","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securitytracker.com/id/1038158","name":"1038158","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://bugs.php.net/bug.php?id=75505","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt","tags":["x_refsource_MISC"]},{"url":"https://bugs.php.net/bug.php?id=74216","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-02-25T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2017-03-27T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-7272","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"97178","refsource":"BID","url":"http://www.securityfocus.com/bid/97178"},{"name":"1038158","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1038158"},{"name":"https://bugs.php.net/bug.php?id=75505","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=75505"},{"name":"https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a","refsource":"CONFIRM","url":"https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a"},{"name":"https://security.netapp.com/advisory/ntap-20180112-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20180112-0001/"},{"name":"https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt","refsource":"MISC","url":"https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt"},{"name":"https://bugs.php.net/bug.php?id=74216","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=74216"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/97178","name":"97178","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securitytracker.com/id/1038158","name":"1038158","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=75505","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=74216","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T15:56:36.360Z"}}]}}}