← volver
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)

CVSS 9.8 CRITICALEPSS 100.0%● KEVCWE-22
En resumen

Las versiones 2.4.49 y 2.4.50 del Servidor HTTP Apache tienen una corrección de seguridad incompleta que permite a atacantes acceder a archivos fuera de los directorios permitidos usando URLs especialmente construidas. Si esos archivos son scripts ejecutables, los atacantes pueden ejecutar código arbitrario en el servidor.

Detalle técnico

Existe una vulnerabilidad de path traversal en el manejo de directivas alias de Apache 2.4.49/2.4.50, donde un parche incompleto del CVE-2021-41773 falla en restringir adecuadamente el mapeo de URLs a archivos. Un atacante remoto no autenticado puede construir solicitudes para eludir restricciones de directorio y acceder a recursos protegidos, potencialmente logrando ejecución remota de código si CGI está habilitado en rutas aliasadas y las protecciones predeterminadas no están vigentes.

Resumen generado y traducido por IA a partir de la descripción oficial.
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
PoCs públicas encontradas39
githubgithub.com/walnutsecurity/cve-2021-4201326githubgithub.com/Vulnmachines/cve-2021-4201315githubgithub.com/asaotomo/CVE-2021-42013-Apache-RCE-Poc-Exp10githubgithub.com/andrea-mattioli/apache-exploit-CVE-2021-420139githubgithub.com/TheLastVvV/CVE-2021-42013_Reverse-Shell7githubgithub.com/K3ysTr0K3R/CVE-2021-42013-EXPLOIT6githubgithub.com/BassoNicolas/CVE-2021-420133githubgithub.com/TheLastVvV/CVE-2021-420132githubgithub.com/twseptian/cve-2021-42013-docker-lab2githubgithub.com/bananoname/cve-2021-420131githubgithub.com/drackyjr/CVE-2021-420131githubgithub.com/robotsense1337/CVE-2021-420131githubgithub.com/jas9reet/CVE-2021-42013-LAB1githubgithub.com/cybfar/cve-2021-42013-httpd1githubgithub.com/vudala/CVE-2021-420131githubgithub.com/Hamesawian/CVE-2021-420131githubgithub.com/FakhriCRD/Apache-CVE-2021-42013-RCE-Exploit0githubgithub.com/hadrian3689/apache_2.4.500githubgithub.com/viliuspovilaika/cve-2021-420130githubgithub.com/mightysai1997/cve-2021-420130githubgithub.com/mightysai1997/cve-2021-42013L0githubgithub.com/mightysai1997/cve-2021-42013.get0githubgithub.com/12345qwert123456/CVE-2021-420130githubgithub.com/Makavellik/POC-CVE-2021-42013-EXPLOIT0githubgithub.com/dream434/cve-2021-42013-apache0githubgithub.com/LayarKacaSiber/CVE-2021-420130githubgithub.com/zeynepglygt/apache-cve-2021-42013-rce0githubgithub.com/asepsaepdin/CVE-2021-420130githubgithub.com/xMohamed0/CVE-2021-42013-ApacheRCE0githubgithub.com/ranasen-rat/cve-2021-420130exploitdbwww.exploit-db.com/exploits/50512no verificadocve_referencepacketstormsecurity.com/files/164609/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.htmlno verificadocve_referencepacketstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Execution.htmlno verificadocve_referencepacketstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.htmlno verificadocve_referencepacketstormsecurity.com/files/165089/Apache-HTTP-Server-2.4.50-CVE-2021-42013-Exploitation.htmlno verificadocve_referencepacketstormsecurity.com/files/167397/Apache-2.4.50-Remote-Code-Execution.htmlno verificadoexploitdbwww.exploit-db.com/exploits/50406no verificadoexploitdbwww.exploit-db.com/exploits/50446no verificadocve_referencepacketstormsecurity.com/files/164501/Apache-HTTP-Server-2.4.50-Path-Traversal-Code-Execution.htmlno verificado
⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →