CVE-2021-42013

CRITICALCISA KEV19 Public PoCs

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. 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 only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.

CVSS Score

9.8

FIRST EPSS

100.0%

Observed Hosts

94

Published

2021-10-07

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. This CVE ID resolves an incomplete patch for CVE-2021-41773.

Top Exposed Countries

  • US19
  • DE9
  • KR8
  • RU7
  • GB6
  • CN5
  • UA4
  • JP3

Top Exposed Ports

  • 443 / tcp58
  • 80 / tcp54
  • 21 / tcp5
  • 8080 / tcp4
  • 2375 / tcp4
  • 2376 / tcp3
  • 8181 / tcp3
  • 18081 / tcp3

Observed Software

  • Apache httpd81
  • nginx7
  • Microsoft ftpd1
  • MySQL1
  • openresty1
  • MikroTik RouterOS1