CVE Catalog

CVE-2017-7272

High
Published: Translated: NVD NIST

Summary

PHP versions up to 7.1.11 enable potential SSRF attacks in applications that accept a hostname argument for fsockopen or pfsockopen, expecting the port number to be constrained. Due to the recognition of :port syntax, fsockopen will use the port number specified in the hostname argument instead of the port number in the second argument of the function.

Risk Assessment

SSRF attacks can lead to unauthorized access to internal network resources, posing a serious security threat to the organization.

Recommendation

It is recommended to upgrade PHP to version 7.1.12 or later to mitigate the risk associated with this vulnerability.

Other vulnerabilities in PHP

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS