Back

HIGH

php: potential SSRF via fsockopen

Published Mar 27, 2017

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (1)

References (11)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Mar 27, 2017
Updated Aug 5, 2024
Reserved Mar 27, 2017
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Mar 27, 2017