llamaCVEVulnerability Intelligence
/
Apache Struts

CVE-2017-9805

Apache Struts remote code execution via REST plugin XML deserialization

An attacker can run arbitrary code on a server by sending specially crafted XML data.

CISA KEV · explotación activaCrítica · en CISA KEV, EPSS ≥ 10 %Parche disponible
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:H/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 -23 d de la divulgación
Exposición3.354 dDesde la divulgación, 15 sept 2017, 2:00 p. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión estimadaAtender
Priorizar en el próximo ciclo de cambios
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), no automatizable e impacto técnico total. Plazo KEV: 3 may 2022.
Si la dejas para después, después te va a doler.No es para las 3 a. m., pero sí para esta semana.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
CISA KEV
Umbral EPSS
Remediación
Parche 2.5.13
Parche 2.3.34
Plazo KEV
Monitoreo
Detectada
Verificada
23 ago 17
5 sept 17
15 sept 17
3 nov 21
3 may 22
21 oct 25
22 oct 26
20 nov 26
22 nov 26
23 ago 17
16 dic 19
8 abr 22
30 jul 24
22 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.5.13 org.apache.struts:struts2-rest-plugin · -23 d desde divulgación
Remediación Parche 2.3.34 org.apache.struts:struts2-rest-plugin · -10 d desde divulgación
Divulgación Publicada CVE-2017-9805 divulgada · CVSS 8.1 (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 · 13 nov 2026

The REST Plugin in Apache Struts, from the Apache Software Foundation, deserializes XML with no type filtering, so an attacker can run their own code on the server. The attack can be carried out remotely, without logging in, and this bug is listed by CISA as exploited in attacks.

Affects Apache Struts 2.1.6 through 2.3.33 and 2.5 through 2.5.12 when the REST plugin with the XStream handler processes XML requests. Fixed in 2.3.34 and 2.5.13.

¿Qué significa?The Struts REST plugin's XStream handler deserializes XML requests unsafely. A crafted XML request can make the server run arbitrary code, which could lead to complete system compromise.
¿Quién está afectado?Struts 2.1.6 through 2.3.33 and 2.5 through 2.5.12 are affected when the application uses the REST plugin with the XStream handler to handle XML requests. Check the Struts version in the application's libraries and whether the struts2-rest-plugin JAR is present.
¿Qué hacer?Upgrade to Apache Struts 2.5.13 or 2.3.34. Workarounds: remove the REST plugin if unused, or upgrade only the plugin with all required JARs. Alternatively, limit it to normal pages and JSON by disabling XML handling (struts.action.extension value "xhtml,,json") and overriding getContentType in XStreamHandler.
Descripción original del registro

The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Application uses the Struts REST plugin with the XStream handler to handle XML requests“A RCE attack is possible when using the Struts REST plugin with XStream handler to deserialise XML requests”
02
Affected Struts versions: 2.1.6 through 2.3.33, and 2.5 through 2.5.12“Struts 2.1.6 - Struts 2.3.33, Struts 2.5 - Struts 2.5.12”
¿Quién debe revisar?Teams running Apache Struts 2.1.6–2.3.33 or 2.5–2.5.12 with the REST plugin and XStream handler for XML, plus Cisco products embedding affected Struts.
MitigaciónRemove the Struts REST plugin when not used; or upgrade only the plugin with all required JARs; or limit the plugin to normal pages and JSON by disabling XML handling (struts.action.extension value "xhtml,,json") and overriding getContentType in XStreamHandler.
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:H
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 7.1 (fácil) · +2.9 por explotación activa.
Versiones

Rangos afectados

Afectada Corregida Última
org.apache.struts:struts2-rest-plugin≥ 2.1.1 < 2.3.34
org.apache.struts:struts2-rest-plugin≥ 2.5.0 < 2.5.13
2.1.1
2.3.34
2.5.0
2.5.13
7.4.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
mavenorg.apache.struts:struts2-rest-plugin
Corregida 2.3.34, 2.5.13 -10 d · -23 d 7.4.0 no afectada
Versiones corregidas2.3.342.5.13
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-20170907-struts2
Fabricantehttps://struts.apache.org/docs/s2-052.html
Fabricantehttps://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax
Fabricantehttps://cwiki.apache.org/confluence/display/WW/S2-052
Exploithttps://www.exploit-db.com/exploits/42627/
Otrahttp://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
Otrahttp://www.securitytracker.com/id/1039263
Otrahttp://www.securityfocus.com/bid/100609
Otrahttps://bugzilla.redhat.com/show_bug.cgi?id=1488482
Otrahttps://lgtm.com/blog/apache_struts_CVE-2017-9805
Otrahttps://security.netapp.com/advisory/ntap-20170907-0001/
Otrahttps://www.kb.cert.org/vuls/id/112992

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