CVE-2021-41773

CRITICALCISA KEV17 Public PoCs

A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013.

CVSS Score

9.8

FIRST EPSS

100.0%

Observed Hosts

77

Published

2021-10-05

Remediation Guidance

[Ransomware Campaign: Known] Apache HTTP Server contains a path traversal vulnerability that allows an attacker to perform remote code execution if files outside directories configured by Alias-like directives are not under default �require all denied� or if CGI scripts are enabled. The original patch issued under this CVE ID is insufficient, please review remediation information under CVE-2021-42013.

Top Exposed Countries

  • US16
  • KR8
  • RU6
  • DE6
  • GB4
  • CN4
  • UA3
  • AT2

Top Exposed Ports

  • 443 / tcp47
  • 80 / tcp45
  • 21 / tcp5
  • 8080 / tcp5
  • 8443 / tcp4
  • 2375 / tcp4
  • 2376 / tcp3
  • 18081 / tcp3

Observed Software

  • Apache httpd65
  • nginx6
  • Microsoft ftpd1
  • MikroTik RouterOS1
  • MySQL1
  • Ncat http proxy1