CVE-2017-9805
CVE-2017-9805
En resumen
Apache Struts 2 tiene una falla en su complemento REST que permite a los atacantes ejecutar código arbitrario al enviar mensajes XML especialmente diseñados. La vulnerabilidad existe porque el sistema deserializa datos sin validar adecuadamente qué tipos de objetos se están creando.
Detalle técnico
El XStreamHandler del REST Plugin deserializa cargas XML usando una instancia XStream sin restricciones de tipo, permitiendo que atacantes instancien clases Java arbitrarias y ejecuten código remoto. La explotación requiere envío de solicitud XML maliciosa a un endpoint REST afectado; el éxito resulta en compromiso total del sistema.
Resumen generado y traducido por IA a partir de la descripción oficial.
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
Apache Software Foundation · Apache StrutsPoCs públicas encontradas — 22
githubgithub.com/mazen160/struts-pwn_CVE-2017-9805★ 247githubgithub.com/luc10/struts-rce-cve-2017-9805★ 60githubgithub.com/chrisjd20/cve-2017-9805.py★ 21githubgithub.com/0x00-0x00/-CVE-2017-9805★ 15githubgithub.com/Lone-Ranger/apache-struts-pwn_CVE-2017-9805★ 5githubgithub.com/hahwul/struts2-rce-cve-2017-9805-ruby★ 3githubgithub.com/Shakun8/CVE-2017-9805★ 3githubgithub.com/BeyondCy/S2-052★ 1githubgithub.com/UbuntuStrike/struts_rest_rce_fuzz-CVE-2017-9805-★ 1githubgithub.com/0xd3vil/CVE-2017-9805-Exploit★ 1githubgithub.com/jongmartinez/-CVE-2017-9805-★ 1githubgithub.com/7s26simon/CVE-2017-9805-S2-052★ 0githubgithub.com/UbuntuStrike/CVE-2017-9805-Apache-Struts-Fuzz-N-Sploit★ 0githubgithub.com/AvishkaSenadheera/CVE-2017-9805---Documentation---IT19143378★ 0githubgithub.com/wifido/CVE-2017-9805-Exploit★ 0githubgithub.com/rvermeulen/apache-struts-cve-2017-9805★ 0githubgithub.com/z3bd/CVE-2017-9805★ 0githubgithub.com/NoSpaceAvailable/CVE-2017-9805_example_build★ 0githubgithub.com/Fl5xia/CVE-2017-9805★ 0githubgithub.com/Experience-rookie/struts-s2-052-deserialization-rce-lab★ 0exploitdbwww.exploit-db.com/exploits/42627no verificadocve_referencewww.exploit-db.com/exploits/42627/no 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 →Referencias
https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifaxhttps://bugzilla.redhat.com/show_bug.cgi?id=1488482https://cwiki.apache.org/confluence/display/WW/S2-052https://lgtm.com/blog/apache_struts_CVE-2017-9805https://security.netapp.com/advisory/ntap-20170907-0001/https://struts.apache.org/docs/s2-052.htmlhttps://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805https://www.exploit-db.com/exploits/42627/https://www.kb.cert.org/vuls/id/112992http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.htmlhttp://www.securityfocus.com/bid/100609