CVE-2021-42013Apache HTTP Server Path Traversal Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
100.0%
100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Nov 2021.
US federal deadline to fix: 17 Nov 2021.
Ransomware
Official 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 and Apache 2.4.50 and not earlier versions.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Nov 2021.
US federal agencies must fix it by 17 Nov 2021. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Apache Http Server, fedoraproject Fedora, Oracle Instantis Enterprisetrack, Oracle Jd Edwards Enterpriseone Tools, Oracle Secure Backup and compare its version with the affected versions.
Update to a fixed version
- Update Jd Edwards Enterpriseone Tools to 9.2.6.0 or later.
- Update Secure Backup to 18.1.0.1.0 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Http Server | 2.4.49 · 2.4.50 |
| fedoraproject Fedora | 34 · 35 |
| Oracle Instantis Enterprisetrack | 17.1 · 17.2 · 17.3 |
| Oracle Jd Edwards Enterpriseone Tools | < 9.2.6.0 |
| Oracle Secure Backup | < 18.1.0.1.0 |
| netapp Cloud Backup | Not specified |
| Apache Apache HTTP Server | Apache HTTP Server 2.4.49 · Apache HTTP Server 2.4.50 |
Weakness
- CWE-22 path traversal
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2021-42013 being exploited?
Yes. CISA added CVE-2021-42013 to its Known Exploited Vulnerabilities catalog on 3 Nov 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-42013?
CVE-2021-42013 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Apache Http Server (2.4.49; 2.4.50), Fedoraproject Fedora (34; 35), Oracle Instantis Enterprisetrack (17.1; 17.2; 17.3), Oracle Jd Edwards Enterpriseone Tools (< 9.2.6.0), Oracle Secure Backup (< 18.1.0.1.0), Netapp Cloud Backup
Is there a patch for CVE-2021-42013?
The official record links to vendor advisories or patches; see “What to do” above.
References
- httpd.apache.org/security/vulnerabilities_24.html(Release Notes, Vendor Advisory)
- lists.apache.org/thread.html/r17a4c6ce9aff662efd9459e9d1850ab4a611cb23392fc68264c72cb3%40%3Ccvs.httpd.apache.org%3E(Mailing List, Patch)
- www.oracle.com/security-alerts/cpuapr2022.html(Patch, Third Party Advisory)
- www.oracle.com/security-alerts/cpujan2022.html(Patch, Third Party Advisory)
- packetstormsecurity.com/files/164501/Apache-HTTP-Server-2.4.50-Path-Traversal-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/164609/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/167397/Apache-2.4.50-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- www.povilaika.com/apache-2-4-50-exploit/(Exploit, Third Party Advisory)
- jvn.jp/en/jp/JVN51106450/index.html(Third Party Advisory)
- packetstormsecurity.com/files/165089/Apache-HTTP-Server-2.4.50-CVE-2021-42013-Exploitation.html(Third Party Advisory, VDB Entry)
- www.openwall.com/lists/oss-security/2021/10/07/6(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/10/08/1(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/10/08/2(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/10/08/3(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/10/08/4(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/10/08/5(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/10/08/6(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/10/09/1(Mailing List, Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.