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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

History

21 Nov 2024, 03:31

Type Values Removed Values Added
References () http://www.securityfocus.com/bid/97178 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/97178 - Third Party Advisory, VDB Entry
References () http://www.securitytracker.com/id/1038158 - () http://www.securitytracker.com/id/1038158 -
References () https://bugs.php.net/bug.php?id=74216 - Issue Tracking, Vendor Advisory () https://bugs.php.net/bug.php?id=74216 - Issue Tracking, Vendor Advisory
References () https://bugs.php.net/bug.php?id=75505 - () https://bugs.php.net/bug.php?id=75505 -
References () https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a - Issue Tracking, Patch, Third Party Advisory () https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a - Issue Tracking, Patch, Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20180112-0001/ - () https://security.netapp.com/advisory/ntap-20180112-0001/ -
References () https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt - () https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt -

Information

Published : 2017-03-27 17:59

Updated : 2024-11-21 03:31


NVD link : CVE-2017-7272

Mitre link : CVE-2017-7272

CVE.ORG link : CVE-2017-7272


JSON object : View

Products Affected

php

  • php
CWE
CWE-918

Server-Side Request Forgery (SSRF)