⚠ Actively exploited in ransomware campaigns
This vulnerability is on the CISA Known Exploited Vulnerabilities list and has been used in known ransomware attacks. CISA required action: Apply updates per vendor instructions.. Due date: 2021-11-17.

CVE-2021-42013

CWE-22Path Traversal28 documents19 sources
Severity
9.8CRITICAL
EPSS
94.4%
top 0.02%
CISA KEV
KEVRansomware
Added 2021-11-03
Due 2021-11-17
Exploit
Exploited in wild
Active exploitation observed
Timeline
PublishedOct 7
KEV addedNov 3
KEV dueNov 17
Latest updateMay 24
CISA Required Action: Apply updates per vendor instructions.

Description

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages6 packages

CVEListV5apache_software_foundation/apache_http_serverApache HTTP Server 2.4.49, Apache HTTP Server 2.4.50+1
NVDapache/http_server2.4.49, 2.4.50+1
Debianapache2< 2.4.51-1+2
NVDoracle/secure_backup< 18.1.0.1.0

Also affects: Fedora 34, 35

Patches

🔴Vulnerability Details

4
GHSA
GHSA-m24x-wx9p-jqmh: It was found that the fix for CVE-2021-41773 in Apache HTTP Server 22022-05-24
OSV
CVE-2021-42013: It was found that the fix for CVE-2021-41773 in Apache HTTP Server 22021-10-07
CVEList
Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)2021-10-07
VulnCheck
Apache HTTP Server Path Traversal Vulnerability2021

💥Exploits & PoCs

6
Exploit-DB
Apache HTTP Server 2.4.50 - Remote Code Execution (RCE) (3)2021-11-11
Exploit-DB
Apache HTTP Server 2.4.50 - Remote Code Execution (RCE) (2)2021-10-25
Exploit-DB
Apache HTTP Server 2.4.50 - Path Traversal & Remote Code Execution (RCE)2021-10-13
Metasploit
Apache 2.4.49/2.4.50 Traversal RCE
Metasploit
Apache 2.4.49/2.4.50 Traversal RCE scanner

🔍Detection Rules

2
Suricata
ET EXPLOIT Apache HTTP Server - Path Traversal Attempt (CVE-2021-42013) M12021-10-09
Suricata
ET EXPLOIT Apache HTTP Server - Path Traversal Attempt (CVE-2021-42013) M22021-10-09

📋Vendor Advisories

7
Oracle
Oracle Oracle JD Edwards Risk Matrix: Upgrade SEC (Apache HTTP Server) — CVE-2021-420132022-04-15
CISA
Apache HTTP Server Path Traversal Vulnerability2021-11-03
CISA
Apache HTTP Server Path Traversal Vulnerability2021-11-03
Red Hat
httpd: path traversal and remote code execution (incomplete fix of CVE-2021-41773)2021-10-07
Cisco
Apache HTTP Server Vulnerabilities: October 20212021-10-07

🕵️Threat Intelligence

5
Unit42
Network Security Trends: August-October 20212021-12-21
Qualys
CVE-2021-41773: Path Traversal & RCE in Apache HTTP Server | Qualys2021-10-28
Qualys
Apache HTTP Server Path Traversal & Remote Code Execution (CVE-2021-41773 & CVE-2021-42013)2021-10-28
Wiz
Protecting cloud environments from the new critical Apache HTTP Server vulnerability | Wiz Blog2021-10-07
Wiz
Protecting cloud environments from the new critical Apache HTTP Server vulnerability | Wiz Blog2021-10-07

💬Community

1
HackerOne
Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) (CVE-2021-42013)2021-11-19