php: potential SSRF via fsockopen
Published Mar 27, 2017
7.4
HIGHCVSS 3.0
EPSS 3.51%
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
No data.
No data.
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat OpenShift Enterprise 2
php
Will not fix
Red Hat Software Collections
rh-php56-php
Will not fix
Red Hat Software Collections
rh-php70-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | php | Will not fix | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
| Red Hat Software Collections | rh-php70-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (26 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.51% (0.03514) | 88.82th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.51% (0.03514) | 87.66th | v5 (v2026.06.15) |
| Jan 14, 2026 | 1.11% (0.01106) | 77.63th | v4 (v2025.03.14) |
| Jan 4, 2026 | 2.67% (0.02667) | 85.37th | v4 (v2025.03.14) |
| Jan 1, 2026 | 1.11% (0.01115) | 77.82th | v4 (v2025.03.14) |
| Dec 4, 2025 | 2.67% (0.02667) | 85.30th | v4 (v2025.03.14) |
| Dec 1, 2025 | 1.11% (0.01115) | 77.66th | v4 (v2025.03.14) |
| Nov 21, 2025 | 2.67% (0.02667) | 85.29th | v4 (v2025.03.14) |
| Nov 18, 2025 | 0.39% (0.00393) | 57.54th | v4 (v2025.03.14) |
| Sep 4, 2025 | 1.73% (0.01726) | 81.71th | v4 (v2025.03.14) |
| Sep 1, 2025 | 0.72% (0.00716) | 71.63th | v4 (v2025.03.14) |
| Aug 19, 2025 | 1.73% (0.01726) | 81.64th | v4 (v2025.03.14) |
| Aug 1, 2025 | 0.33% (0.00326) | 55.12th | v4 (v2025.03.14) |
| Jun 21, 2025 | 1.49% (0.01485) | 80.11th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.23% (0.00229) | 43.69th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.26% (0.00261) | 66.36th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.26% (0.00261) | 64.85th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.26% (0.00261) | 62.01th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.66% (0.01659) | 34.20th | v1 |
| Jan 6, 2022 | 1.66% (0.01659) | 33.50th | v1 |
| Sep 1, 2021 | 1.66% (0.01659) | 73.96th | v1 |
| Apr 14, 2021 | 1.66% (0.01659) | 0.00th | v1 |
References (11)
- http://www.securityfocus.com/bid/97178 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038158 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2017-7272 Vendor Advisory
- https://bugs.php.net/bug.php?id=74216 x_refsource_CONFIRMIssue TrackingVendor Advisory
- https://bugs.php.net/bug.php?id=75505 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1437837 Issue Tracking
- https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-7272
- https://security.netapp.com/advisory/ntap-20180112-0001/ x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2017-7272
- https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt x_refsource_MISC
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/97178 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| http://www.securitytracker.com/id/1038158 | vdb-entryx_refsource_SECTRACK | |
| https://access.redhat.com/security/cve/CVE-2017-7272 | Vendor Advisory | |
| https://bugs.php.net/bug.php?id=74216 | x_refsource_CONFIRMIssue TrackingVendor Advisory | |
| https://bugs.php.net/bug.php?id=75505 | x_refsource_CONFIRM | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1437837 | Issue Tracking | |
| https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-7272 | ||
| https://security.netapp.com/advisory/ntap-20180112-0001/ | x_refsource_CONFIRM | |
| https://www.cve.org/CVERecord?id=CVE-2017-7272 | ||
| https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt | x_refsource_MISC |
Change history (0)
No recorded changes yet.