PT-2021-3598 · Php+10 · Php+10
Published
2021-07-02
·
Updated
2025-08-11
·
CVE-2021-21705
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
PHP versions 7.3.x through 7.3.28
PHP versions 7.4.x through 7.4.20
PHP versions 8.0.x through 8.0.7
Description
The issue is related to the URL validation functionality via the
filter var() function with the FILTER VALIDATE URL parameter. It can lead to incorrect parsing of URLs with invalid password fields, potentially resulting in security implications such as contacting a wrong server or making a wrong access decision. The vulnerability is also associated with insufficient request checking, which can allow a remote attacker to perform a Server-Side Request Forgery (SSRF) attack.Recommendations
For PHP versions 7.3.x through 7.3.28, update to version 7.3.29 or later.
For PHP versions 7.4.x through 7.4.20, update to version 7.4.21 or later.
For PHP versions 8.0.x through 8.0.7, update to version 8.0.8 or later.
Exploit
Fix
RCE
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Php
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu