← back
CVE-2021-42013criticalunder attackransomwareCWE-22

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

100Vexday Risk Score

Patch now. It under exploitation confirmed by CISA and has a working public exploit.

ssvc Actcvss 9.8epss 100%
from disclosure to weapon0 days
Published on NVDOct 7
1st PoCOct 7
metasploitMay 10
CISA KEV+27d
exploitation probability
100%top 1% of all CVEs
observed exploitation
yesCISA + VulnCheck
73 public exploit(s)
Action required by CISAfederal deadline: 2021-11-17

Apply updates per vendor instructions.

Researched and written with AI from the vendor advisory and public analysis, with the sources above. Always confirm the fixed version in the official advisory before acting.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
public PoCs found73 VexDay Proof
exploitdbVexDay Proofwww.exploit-db.com/exploits/50512exploitdbVexDay Proofwww.exploit-db.com/exploits/50406exploitdbwww.exploit-db.com/exploits/50446unverifiedgithubgithub.com/walnutsecurity/cve-2021-4201327githubgithub.com/Vulnmachines/cve-2021-4201315githubgithub.com/asaotomo/CVE-2021-42013-Apache-RCE-Poc-Exp10githubgithub.com/andrea-mattioli/apache-exploit-CVE-2021-420139githubgithub.com/K3ysTr0K3R/CVE-2021-42013-EXPLOIT7githubgithub.com/TheLastVvV/CVE-2021-42013_Reverse-Shell7githubgithub.com/BassoNicolas/CVE-2021-420133githubgithub.com/twseptian/cve-2021-42013-docker-lab2githubgithub.com/TheLastVvV/CVE-2021-420132githubgithub.com/bananoname/cve-2021-420131githubgithub.com/Hamesawian/CVE-2021-420131githubgithub.com/jas9reet/CVE-2021-42013-LAB1githubgithub.com/cybfar/cve-2021-42013-httpd1githubgithub.com/robotsense1337/CVE-2021-420131githubgithub.com/drackyjr/CVE-2021-420131githubgithub.com/vudala/CVE-2021-420131githubgithub.com/asepsaepdin/CVE-2021-420130githubgithub.com/Makavellik/POC-CVE-2021-42013-EXPLOIT0githubgithub.com/FakhriCRD/Apache-CVE-2021-42013-RCE-Exploit0githubgithub.com/ranasen-rat/cve-2021-420130githubgithub.com/zeynepglygt/apache-cve-2021-42013-rce0githubgithub.com/Joapath/CVE-2021-420130githubgithub.com/eunho87/CVE-2021-420130githubgithub.com/berraesen/apache-cve-2021-42013-lab0githubgithub.com/LayarKacaSiber/CVE-2021-420130githubgithub.com/viliuspovilaika/cve-2021-420130githubgithub.com/hadrian3689/apache_2.4.500githubgithub.com/mightysai1997/cve-2021-420130githubgithub.com/mightysai1997/cve-2021-42013L0githubgithub.com/mightysai1997/cve-2021-42013.get0githubgithub.com/12345qwert123456/CVE-2021-420130githubgithub.com/xMohamed0/CVE-2021-42013-ApacheRCE0githubgithub.com/dream434/cve-2021-42013-apache0vulncheckvulncheck.com/xdb/94a8be0205aeunverifiedvulncheckvulncheck.com/xdb/1cfa52b1622bunverifiedvulncheckvulncheck.com/xdb/4c0e3155c6deunverifiedvulncheckvulncheck.com/xdb/9db94a24977cunverifiedcve_referencepacketstormsecurity.com/files/164501/Apache-HTTP-Server-2.4.50-Path-Traversal-Code-Execution.htmlunverifiedcve_referencepacketstormsecurity.com/files/164609/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.htmlunverifiedcve_referencepacketstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Execution.htmlunverifiedcve_referencepacketstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.htmlunverifiedcve_referencepacketstormsecurity.com/files/165089/Apache-HTTP-Server-2.4.50-CVE-2021-42013-Exploitation.htmlunverifiedcve_referencepacketstormsecurity.com/files/167397/Apache-2.4.50-Remote-Code-Execution.htmlunverifiedvulncheckvulncheck.com/xdb/05376c442191unverifiedvulncheckvulncheck.com/xdb/80019b8370afunverifiedvulncheckvulncheck.com/xdb/cc14508a170cunverifiedvulncheckvulncheck.com/xdb/1164c6167307unverifiedvulncheckvulncheck.com/xdb/4bad25e994e2unverifiedvulncheckvulncheck.com/xdb/5ca2b55d2782unverifiedvulncheckvulncheck.com/xdb/f480a19ee326unverifiedvulncheckvulncheck.com/xdb/7f1b705bcf83unverifiedvulncheckvulncheck.com/xdb/28d7e8231b1funverifiedvulncheckvulncheck.com/xdb/7ff49021c22eunverifiedvulncheckvulncheck.com/xdb/f7ab4f8db55bunverifiedvulncheckvulncheck.com/xdb/b07b7850bf05unverifiedvulncheckvulncheck.com/xdb/ef11e24302d0unverifiedvulncheckvulncheck.com/xdb/bfc30889d329unverifiedvulncheckvulncheck.com/xdb/5e64583b49f2unverifiedvulncheckvulncheck.com/xdb/b1d2ff60b684unverifiedvulncheckvulncheck.com/xdb/6fea2c044e7aunverifiedvulncheckvulncheck.com/xdb/1049bafbb722unverifiedvulncheckvulncheck.com/xdb/93027facc9f9unverifiedvulncheckvulncheck.com/xdb/56bd1b4d31bbunverifiedvulncheckvulncheck.com/xdb/e543e9003746unverifiedvulncheckvulncheck.com/xdb/c9583159535cunverifiedvulncheckvulncheck.com/xdb/e7a565f8ed42unverifiedvulncheckvulncheck.com/xdb/e3d6c5260840unverifiedvulncheckvulncheck.com/xdb/699d0a790bc9unverifiedvulncheckvulncheck.com/xdb/dd76d0d27f2aunverifiedvulncheckvulncheck.com/xdb/b892ed4cf747unverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.