CVE-2021-21705


Incorrect URL validation in FILTER_VALIDATE_URL

In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VALIDATE_URL parameter, an URL with invalid password field can be accepted as valid. This can lead to the code incorrectly parsing the URL and potentially leading to other security implications - like contacting a wrong server or making a wrong access decision.



We have discovered 922,016 live websites that are affected by CVE-2021-21705.

Contact us to get more info




Affected Software

Product  PHP
Category Programming Languages
Vulnerable Versions
  • from 7.3 before 7.3.29
  • from 7.4 before 7.4.21
  • from 8 before 8.0.8
Total Vulnerable Versions507
Vulnerable Domains922,016 live websites (7.62% of PHP install base)


Common Weakness Enumeration


CWE-20 Improper Input Validation


Distribution by Website Rank

The diagram provides a graphic representation of the correlation between the occurrence of CVE-2021-21705 and the relative popularity of websites


Details

  • Published - Jun 28, 2021
  • Updated - Sep 29, 2022

Credits

  • reported by vi at hackberry dot xyz





Countries

United States344,487 websites



France249,328 websites
Germany28,358 websites
Russia25,777 websites
GB21,797 websites
Canada21,051 websites
Poland18,158 websites
Italy17,574 websites
Spain17,058 websites
China15,263 websites

TLDs

.com463,464 websites
.fr110,652 websites
.org53,409 websites
.net28,805 websites
.ru20,916 websites
.de17,482 websites
.pl13,938 websites
.be13,683 websites
.co.uk13,201 websites
.it13,061 websites

Vulnerable Versions

Vulnerable versions are highlighted in red


Geographical Distribution

The distribution of websites across the globe that are exposed to CVE-2021-21705 through included software libraries and plugins.



References


Websites affected by CVE-2021-21705

Top websites that are affected by CVE-2021-21705. Please click on the "Contact us" button above to get more information.
DomainCountryRankContacts
***.*****.pl Poland*,***
*******.com Germany*,***
****.org GB*,***
***************.org United States*,***
***.ly United States*,***
**********.org United States*,***
***.**.gov United States*,***
******.com France*,***
**********.com France*,***
********.org United States*,***
See full domain list