llamaCVEVulnerability Intelligence
/
Apache Struts

CVE-2017-5638

Apache Struts remote code execution in Jakarta Multipart parser

A remote attacker can run arbitrary commands on the server by sending a specially crafted HTTP header.

CISA KEV · explotación activaCrítica · en CISA KEV, EPSS ≥ 10 %Parche disponible
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
Parche2 versionesPrimer parche a -5 d de la divulgación
Exposición3.543 dDesde la divulgación, 10 mar 2017, 9:11 p. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión estimadaActuar
Parchear de inmediato
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): explotación activa (CISA KEV), automatizable e impacto técnico total. Plazo KEV: 3 may 2022.
Te juro por mi lana que esto es urgente.El exploit ya circula en Telegram. Muévete.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
CISA KEV
Umbral EPSS
Remediación
Parche 2.3.32 +1
Plazo KEV
Monitoreo
Detectada
Verificada
6 mar 17
11 mar 17
3 nov 21
3 may 22
21 oct 25
22 oct 26
13 nov 26
22 nov 26
6 mar 17
10 ago 19
13 ene 22
18 jun 24
22 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.3.32 org.apache.struts:struts2-core · -5 d desde divulgación
Remediación Parche 2.5.10.1 org.apache.struts:struts2-core · -5 d desde divulgación
Divulgación Publicada CVE-2017-5638 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
Análisis de Llama Security · 12 nov 2026

Apache Struts 2 has a flaw in its Jakarta Multipart file-upload parser that lets an attacker run commands of their choosing on the Struts server, using the privileges of the account the server runs as. It can be reached remotely, without logging in, by sending a crafted HTTP header such as Content-Type, and attacks using it have been seen in the wild.

Affects Apache Struts 2.3.5 through 2.3.31 and 2.5 through 2.5.10 using the Jakarta multipart parser, even without file upload features. Fixed in 2.3.32 and 2.5.10.1.

¿Qué significa?The Jakarta Multipart parser in Apache Struts 2 handles exceptions and error messages incorrectly. The result is remote execution of attacker-chosen commands on the Struts server, running as the user the server runs as.
¿Quién está afectado?Struts 2.3.5 through 2.3.31 and 2.5 through 2.5.10 using the Jakarta file upload multipart parser are affected. The application does not need to implement file upload functionality. The Struts version can be checked by looking at the struts2-core library version in the application's dependencies.
¿Qué hacer?Upgrade to Struts 2.3.32 or 2.5.10.1, depending on the release line in use. The advisory says servers running affected versions should upgrade immediately.
Descripción original del registro

The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Apache Struts 2 versions 2.3.5 through 2.3.31 or 2.5 through 2.5.10 using the Jakarta file upload multipart parser“Apache Struts versions affected by the vulnerability include Struts 2.3.5 through 2.3.31, and 2.5 through 2.5.10.”
02
The app does not need to implement file upload functionality to be exploitable“It’s also possible to exploit the bug even if a Web application doesn’t implement file upload functionality.”
¿Quién debe revisar?Teams running web apps built on Apache Struts 2 (2.3.5–2.3.31, 2.5–2.5.10); apps may need recompiling against a patched Struts.
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

Rangos afectados

Afectada Corregida Última
org.apache.struts:struts2-core≥ 2.3.0 < 2.3.32
org.apache.struts:struts2-core≥ 2.5.0 < 2.5.10.1
2.3.0
2.3.32
2.5.0
2.5.10.1
7.5.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
mavenorg.apache.struts:struts2-core
Corregida 2.3.32, 2.5.10.1 -5 d · -5 d 7.5.0 no afectada
Versiones corregidas2.3.322.5.10.1
Explotación

Arsenal público

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

Referencias
Fabricantehttps://struts.apache.org/docs/s2-046.html
Fabricantehttps://struts.apache.org/docs/s2-045.html
Fabricantehttps://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493971e7d5a756d61780d57a76eb1f519a
Fabricantehttps://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce47160036ed120a48345d9aa884477228
Fabricantehttps://cwiki.apache.org/confluence/display/WW/S2-045
Análisishttps://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/
Exploithttps://exploit-db.com/exploits/41570
Exploithttps://github.com/rapid7/metasploit-framework/issues/8064
Exploithttps://packetstormsecurity.com/files/141494/S2-45-poc.py.txt
Otrahttps://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html
Otrahttp://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
Otrahttps://security.netapp.com/advisory/ntap-20170310-0001/
Ver 13 referencias más
Otrahttp://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
Otrahttps://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerability-in-apache-struts-2/
Otrahttps://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03733en_us
Otrahttps://www.kb.cert.org/vuls/id/834067
Otrahttps://isc.sans.edu/diary/22169
Otrahttp://www.securitytracker.com/id/1037973
Otrahttp://www.eweek.com/security/apache-struts-vulnerability-under-attack.html
Otrahttp://www.securityfocus.com/bid/96729
Otrahttps://twitter.com/theog150/status/841146956135124993
Otrahttps://github.com/mazen160/struts-pwn
Otrahttps://www.symantec.com/security-center/network-protection-security-advisories/SA145
Otrahttps://support.lenovo.com/us/en/product_security/len-14200
Otrahttps://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03723en_us

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