llamaCVEVulnerability Intelligence
/
Apache HTTP Server

CVE-2021-42013

Apache HTTP Server path traversal and code execution in URL mapping

Attackers can craft URLs to read files outside web directories and run arbitrary code when CGI scripts are enabled.

CISA KEV · explotación activaCrítica · en CISA KEV, CVSS alto en tecnología listada, EPSS ≥ 10 %Sin parche publicado
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: NVD
ExplotaciónActivaEn CISA KEV desde 3 nov 2021
Exploits públicos0Explotada, pero sin código público enlazado
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición1.870 dDesde la divulgación, 7 oct 2021, 10:50 a. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
CISA KEV
Umbral EPSS
Remediación
Plazo KEV
Monitoreo
Detectada
Verificada
7 oct 21
3 nov 21
17 nov 21
21 oct 25
22 oct 26
19 nov 26
21 nov 26
7 oct 21
18 ene 23
29 abr 24
10 ago 25
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2021-42013 divulgada · CVSS 9.8 (NVD)
Explotación CISA KEV Agregada al catálogo de vulnerabilidades explotadas
Remediación Plazo KEV Fecha límite de remediación para agencias federales (EE. UU.)
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 18 nov 2026

Apache HTTP Server from the Apache Software Foundation has a path traversal flaw that lets an attacker, remotely and without logging in, map URLs to files outside the directories set by Alias-like directives, and if CGI scripts are enabled for those paths, run code on the server. The bug is being exploited in attacks, and it works only when files outside those directories are not protected by the usual "require all denied" setting.

Affects Apache HTTP Server 2.4.49 and 2.4.50 where files outside Alias-like directories lack the default "require all denied" protection; code execution also needs CGI enabled on those paths.

¿Qué significa?A path traversal flaw lets an attacker map URLs to files outside the directories set up by Alias-like directives. If CGI scripts are also enabled for those aliased paths, this can lead to remote code execution. This issue is an incomplete fix of CVE-2021-41773.
¿Quién está afectado?The affected versions are Apache HTTP Server 2.4.49 and 2.4.50. The exposure also depends on files outside the Alias-like directories not being covered by the usual default "require all denied" configuration, and code execution additionally requires CGI to be enabled for the aliased paths. A reader can check the server version (for example with httpd -v) and review the directory access and CGI settings in the configuration.
¿Qué hacer?The provided facts do not list a fixed version or a vendor-recommended upgrade target. Check the Apache HTTP Server advisory for the current fix guidance.
no-patchThe facts do not name a workaround, but they identify the conditions involved. Keeping the usual default "require all denied" protection on files outside the Alias-like directories, and not enabling CGI scripts for the aliased paths, addresses those conditions.
Descripción original del registro

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Apache HTTP Server 2.4.49 or 2.4.50 is running.“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)”
02
Files outside the Alias-like directories are not protected by the usual default "require all denied" configuration.“are not protected by the usual default configuration "require all denied", these”
03
For remote code execution, CGI scripts must also be enabled for the aliased paths.“If CGI scripts are also enabled for these aliased pathes,”
¿Quién debe revisar?Teams running Apache HTTP Server 2.4.49 or 2.4.50 where files outside Alias-mapped directories lack "require all denied"; RCE also needs CGI enabled there.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Versiones afectadas

Apache HTTP Server 2.4.49Apache HTTP Server 2.4.50
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Apache HTTP Server
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-pathtrv-LAzg68cZ
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMIIEFINL6FUIOPD2A3M5XC6DH45Y3CC/
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WS5RVHOIIRECG65ZBTZY7IEJVWQSQPG3/
Fabricantehttps://httpd.apache.org/security/vulnerabilities_24.html
Fabricantehttps://lists.apache.org/thread.html/r7c795cd45a3384d4d27e57618a215b0ed19cb6ca8eb070061ad5d837%40%3Cannounce.apache.org%3E
Fabricantehttps://lists.apache.org/thread.html/rb5b0e46f179f60b0c70204656bc52fcb558e961cb4d06a971e9e3efb%40%3Cusers.httpd.apache.org%3E
Fabricantehttps://lists.apache.org/thread.html/r17a4c6ce9aff662efd9459e9d1850ab4a611cb23392fc68264c72cb3%40%3Ccvs.httpd.apache.org%3E
Análisishttp://www.openwall.com/lists/oss-security/2021/10/07/6
Análisishttp://www.openwall.com/lists/oss-security/2021/10/08/1
Análisishttp://www.openwall.com/lists/oss-security/2021/10/08/2
Análisishttp://www.openwall.com/lists/oss-security/2021/10/08/3
Análisishttp://www.openwall.com/lists/oss-security/2021/10/08/4
Ver 13 referencias más
Análisishttp://www.openwall.com/lists/oss-security/2021/10/08/6
Análisishttp://www.openwall.com/lists/oss-security/2021/10/08/5
Análisishttp://www.openwall.com/lists/oss-security/2021/10/09/1
Análisishttp://www.openwall.com/lists/oss-security/2021/10/11/4
Análisishttp://www.openwall.com/lists/oss-security/2021/10/15/3
Análisishttp://www.openwall.com/lists/oss-security/2021/10/16/1
Exploithttp://packetstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Execution.html
Exploithttp://packetstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html
Exploithttp://packetstormsecurity.com/files/164501/Apache-HTTP-Server-2.4.50-Path-Traversal-Code-Execution.html
Exploithttp://packetstormsecurity.com/files/164609/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html
Otrahttp://jvn.jp/en/jp/JVN51106450/index.html
Otrahttps://www.oracle.com/security-alerts/cpujan2022.html
Otrahttps://security.netapp.com/advisory/ntap-20211029-0009/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.