CVE-2021-21707

MEDIUM

In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpreting the filename differently from what the user intended, which may lead it to reading a different file than intended.

CVSS Score

5.3

FIRST EPSS

25.3%

Observed Hosts

5,702

Published

2021-11-29

Top Exposed Countries

  • US329
  • CN209
  • DE112
  • JP96
  • TW95
  • NL95
  • HK89
  • KR58

Top Exposed Ports

  • 443 / tcp1,090
  • 80 / tcp841
  • 8443 / tcp118
  • 22 / tcp65
  • 8080 / tcp65
  • 21 / tcp49
  • 3306 / tcp35
  • 8000 / tcp28

Observed Software

  • Apache httpd985
  • nginx503
  • Microsoft IIS httpd69
  • Microsoft IIS48
  • lighttpd40
  • Apache26
    CVE-2021-21707 Exposure & Threat Brief — Leviathan X