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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Fuente: NVD
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde 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 |
2.3.342.5.13Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2https://struts.apache.org/docs/s2-052.htmlhttps://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifaxhttps://cwiki.apache.org/confluence/display/WW/S2-052https://www.exploit-db.com/exploits/42627/http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.htmlhttp://www.securitytracker.com/id/1039263http://www.securityfocus.com/bid/100609https://bugzilla.redhat.com/show_bug.cgi?id=1488482https://lgtm.com/blog/apache_struts_CVE-2017-9805https://security.netapp.com/advisory/ntap-20170907-0001/https://www.kb.cert.org/vuls/id/112992Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
