Path Traversal in Apache Software Foundation Http Server
CVE-2021-42013
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…
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.944 (100.0th percentile) — read the EPSS interpretation.
Affected products
- Apache Software Foundation Http Server — versions Apache HTTP Server 2.4.49, Apache HTTP Server 2.4.50
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
Required action: Apply updates per vendor instructions.
Known ransomware campaign use: yes.
Public proof-of-concept exploits
- walnutsecurity/cve-2021-42013
- Vulnmachines/cve-2021-42013
- asaotomo/CVE-2021-42013-Apache-RCE-Poc-Exp
- andrea-mattioli/apache-exploit-CVE-2021-42013
- TheLastVvV/CVE-2021-42013_Reverse-Shell
- K3ysTr0K3R/CVE-2021-42013-EXPLOIT
- BassoNicolas/CVE-2021-42013
- twseptian/cve-2021-42013-docker-lab
- TheLastVvV/CVE-2021-42013
- drackyjr/CVE-2021-42013
References
- httpd.apache.org/security/vulnerabilities_24.html (x_refsource_MISC)
- [announce] 20211007 CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) (mailing-list, x_refsource_MLIST)
- [httpd-users] 20211007 [users@httpd] CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) (mailing-list, x_refsource_MLIST)
- [oss-security] 20211007 CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) (mailing-list, x_refsource_MLIST)
- 20211007 Apache HTTP Server Vulnerabilties: October 2021 (vendor-advisory, x_refsource_CISCO)
- JVN#51106450 (third-party-advisory, x_refsource_JVN)
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) (mailing-list, x_refsource_MLIST)
- [httpd-cvs] 20211008 [httpd-site] branch main updated: * Align with CVE-2021-42013 based on the latest findings (mailing-list, x_refsource_MLIST)
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) (mailing-list, x_refsource_MLIST)
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) (mailing-list, x_refsource_MLIST)
Frequently asked questions
- What is CVE-2021-42013?
- CVE-2021-42013 is a vulnerability in Apache Software Foundation Http Server, classified under Path Traversal. Published 2021-10-07.
- Is CVE-2021-42013 known to be exploited?
- Yes. CVE-2021-42013 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2021-11-03), indicating it is being actively exploited. 262 public proof-of-concept repositories are indexed.