CVE-2021-42013
Apache HTTP Server Path Traversal Vulnerability
Apache HTTP ServerWeb servers
CVSS
9.8CriticalExploit odds (EPSS)>99.9%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
CISA required actionApply updates per vendor instructions. CISA KEV
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Timeline
- 10 May 2021Exploit code publicMetasploit
- 7 Oct 2021, 15:50 UTCPublishedCVE List
- 3 Nov 2021Added to CISA KEVCISA KEV
Public exploit code and templates 6
- Exploit moduleApache 2.4.49/2.4.50 Traversal RCE 10 May 2021Metasploit
- Auxiliary moduleApache 2.4.49/2.4.50 Traversal RCE scanner 10 May 2021Metasploit
- Webapps exploitApache HTTP Server 2.4.50 - Path Traversal & Remote Code Execution (RCE) 13 Oct 2021Exploit-DB
- Webapps exploitApache HTTP Server 2.4.50 - Remote Code Execution (RCE) (2) 25 Oct 2021Exploit-DB
- Webapps exploitApache HTTP Server 2.4.50 - Remote Code Execution (RCE) (3) 11 Nov 2021Exploit-DB
- Scanner templateApache 2.4.49/2.4.50 - Path Traversal and Remote Code ExecutionNuclei
Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.
Description
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.
Text from CVE List
Affected versions 2
- Apache HTTP Serveraffected: Apache HTTP Server 2.4.49CVE List
- Apache HTTP Serveraffected: Apache HTTP Server 2.4.50CVE List
References 14
- httpd.apache.org/security/vulnerabilities_24.htmlAdvisoryvia CVE List
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-pathtrv-LAzg68cZAdvisoryvia CVE List
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMIIEFINL6FUIOPD2A3M5XC6DH45Y3CC/Advisoryvia CVE List
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WS5RVHOIIRECG65ZBTZY7IEJVWQSQPG3/Advisoryvia CVE List
- oracle.com/security-alerts/cpujan2022.htmlAdvisoryvia CVE List
- security.netapp.com/advisory/ntap-20211029-0009/Advisoryvia CVE List
- oracle.com/security-alerts/cpuapr2022.htmlAdvisoryvia CVE List
- security.gentoo.org/glsa/202208-20Advisoryvia CVE List
- nvd.nist.gov/vuln/detail/CVE-2021-42013Referencevia CISA KEV
- lists.apache.org/thread.html/r7c795cd45a3384d4d27e57618a215b0ed19cb6ca8eb070061ad5d837%40%3Cannounce.apache.org%3EReferencevia CVE List
- lists.apache.org/thread.html/rb5b0e46f179f60b0c70204656bc52fcb558e961cb4d06a971e9e3efb%40%3Cusers.httpd.apache.org%3EReferencevia CVE List
- lists.apache.org/thread.html/r17a4c6ce9aff662efd9459e9d1850ab4a611cb23392fc68264c72cb3%40%3Ccvs.httpd.apache.org%3EReferencevia CVE List
- povilaika.com/apache-2-4-50-exploit/Referencevia CVE List
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-42013Referencevia CVE List