CVE-2017-7272

php: potential SSRF via fsockopen

Published Mar 27, 2017 CVSS 3.0 · 7.4 High EPSS 3.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-875-1 php5 security update
Debian DLA Debian DLA DLA-1490-1 php5 security update
EUVD EUVD EUVD-2017-16301 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 3:56 PM
Reserved
Mar 27, 2017, 12:00 AM
Status
Modified
Published
Mar 27, 2017, 5:59 PM
Modified
Jun 17, 2026, 1:23 AM
Severity
Low
Public date
Mar 27, 2017, 12:00 AM