CVEvulnerability

CVE-2017-7272

7.4 HIGH Published 2017-03-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-03-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.4 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
CVSS 2.0 ([email protected])
5.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:N
Weaknesses
CWE-918

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 configurations

• php php (<= 7.1.3)

Related

Weakness · CWE (1)

  • CWE-918 Server-Side Request Forgery weakness

References