CVE-2021-42013 · Published 7 Oct 2021
Apache HTTP Server
On CISA's KEV list 27 days after disclosure; 47 public exploits.
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.
CISA required action (federal due date 17 Nov 2021): Apply updates per vendor instructions.
Signals
- KEV, exploited in the wild
- yes, added 3 Nov 2021, due 17 Nov 2021, known ransomware use
- EPSS, 30-day forecast
- 100%, 100th percentile (as of 18 Nov 2026)
- CVSS, NVD
- not stated
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it. No score published by NVD.
Timeline 6 Oct 2021 to today
- Metasploit
- Disclosed+1 d
- First PoC+6 d
- KEV+21 d
21 days from the first proof of concept to the KEV listing
Indicators none tied yet
No threat feed has tied an indicator to this CVE yet. Checked every six hours.
On the wire 0 dispatches
No dispatch on our wire has named this CVE yet.
Public exploit code 47 known · links only
GitHub PoCs 42Metasploit 2Exploit-DB 3
GitHub PoCs, by trust then stars42
- 12345qwert123456/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- 5gstudent/cve-2021-41773-and-cve-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- Adashz/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- ahmad4fifz/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
- asaotomo/CVE-2021-42013-Apache-RCE-Poc-ExpNot checked
first seen by skopnix 18 Oct 2026
- asepsaepdin/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- bananoname/cve-2021-42013Not checked
first seen by skopnix 18 Oct 2026
Show 34 more
- BassoNicolas/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- birdlinux/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- cybfar/cve-2021-42013-httpdNot checked
first seen by skopnix 18 Oct 2026
- dream434/cve-2021-42013-apacheNot checked
first seen by skopnix 18 Oct 2026
- Hamesawian/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- honypot/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- imhunterand/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- inbug-team/CVE-2021-41773_CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- jas9reet/CVE-2021-42013-LABNot checked
first seen by skopnix 18 Oct 2026
- Jhonsonwannaa/cve-2021-42013-apacheNot checked
first seen by skopnix 18 Oct 2026
- K3ysTr0K3R/CVE-2021-42013-EXPLOITNot checked
first seen by skopnix 18 Oct 2026
- LayarKacaSiber/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- Ls4ss/CVE-2021-41773_CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- Makavellik/POC-CVE-2021-42013-EXPLOITNot checked
first seen by skopnix 18 Oct 2026
- mauricelambert/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- mightysai1997/cve-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- mightysai1997/cve-2021-42013.getNot checked
first seen by skopnix 18 Oct 2026
- mightysai1997/cve-2021-42013LNot checked
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
- rafifdna/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- rnsss/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- robotsense1337/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- Rubikcuv5/cve-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- TheLastVvV/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- TheLastVvV/CVE-2021-42013_Reverse-ShellNot checked
first seen by skopnix 18 Oct 2026
- theykillmeslowly/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- twseptian/CVE-2021-42013-Docker-LabNot checked
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
- viliuspovilaika/cve-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- vudala/CVE-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- Vulnmachines/cve-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- walnutsecurity/cve-2021-42013Not checked
first seen by skopnix 18 Oct 2026
- xMohamed0/CVE-2021-42013-ApacheRCENot checked
first seen by skopnix 18 Oct 2026
Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.
Metasploit2
This module exploit an unauthenticated RCE vulnerability which exists in Apache version 2.4.49 (CVE-2021-41773). If files outside of the document root are not protected by 'require all denied' and CGI has been explicitly enabled, it can be used to execute arbitrary commands (Remote Command Execution). This vulnerability has been reintroduced in Apache 2.4.50 fix (CVE-2021-42013).
ruby · first seen by skopnix 18 Oct 2026
This module scans for an unauthenticated RCE vulnerability which exists in Apache version 2.4.49 (CVE-2021-41773). If files outside of the document root are not protected by 'require all denied' and CGI has been explicitly enabled, it can be used to execute arbitrary commands (Remote Command Execution). This vulnerability has been reintroduced in Apache 2.4.50 fix (CVE-2021-42013).
ruby · first seen by skopnix 18 Oct 2026
Exploit-DB3
created 13 Oct 2021
created 25 Oct 2021
created 11 Nov 2021
Nuclei detection templates1
A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49 and 2.4.50. An attacker could use a path traversal attack to map URLs to files outside the expected document root. If files outside of the document root are not protected by "require all denied" these requests can succeed. Additionally, this flaw could leak the source of interpreted files like CGI scripts. In certain configurations, for instance if mod_cgi is enabled, this flaw can lead to remote code execution.
yaml · first seen by skopnix 18 Oct 2026
A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.
References
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.