CVE-2017-5638Apache Struts
Ejecución remota de código en Apache Struts por manejo incorrecto de excepciones
Crítica 9.8 KEVRansomware Sin autenticaciónEPSS alto
Seguir: esta CVE · Apache · Apache Struts Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 99
- CVSS 3.1
- 9.8
- EPSS
- 100.0% probabilidad de explotación en 30 días · percentil 100
- Requiere autenticación
- No
- En el KEV desde
- 3 nov 2021
- Plazo de CISA
- 3 may 2022
- Uso en ransomware
- Confirmado
- Publicada
- 11 mar 2017
- Actualizada
- 17 jun 2026
- Categoría
- Servidor · Multiplataforma
- Debilidad (CWE)
- CWE-755
- SSVC (CISA)
- Explotación: activa · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
El analizador Jakarta Multipart en Apache Struts 2 (versiones 2.3.x antes de 2.3.32 y 2.5.x antes de 2.5.10.1) contiene un manejo incorrecto de excepciones durante intentos de carga de archivos. Un atacante remoto sin autenticación puede ejecutar comandos arbitrarios mediante un encabezado HTTP Content-Type, Content-Disposition o Content-Length manipulado. CISA confirmó esta vulnerabilidad como explotada activamente en marzo de 2017.
Ver el texto original de NVD (en inglés)
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.
Explotación confirmada por CISA
Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.
Acción que pide CISA: Apply updates per vendor instructions.
Qué hacer
Hay parche · versiones corregidas: 2.3.32, 2.5.10.1
Actualiza Apache Struts a versión 2.3.32 o posterior (rama 2.3) o 2.5.10.1 o posterior (rama 2.5). Consulta las mitigaciones en el aviso del fabricante si no puedes actualizar inmediatamente.
- Aplica la actualización de seguridad del fabricante para Struts.
- CISA la confirmó como explotada: trátala como urgente. El plazo para agencias federales de EE. UU. venció el 3 de mayo de 2022.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
- Revisa los registros en busca de señales de explotación previa.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-core |
≥ 2.3.0 < 2.3.32 |
2.3.32 |
— |
| Maven | org.apache.struts:struts2-core |
≥ 2.5.0 < 2.5.10.1 |
2.5.10.1 |
— |
Según OSV / GitHub Advisories (GHSA-j77q-2qqg-6989). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| apache | struts | ≥ 2.2.3 < 2.3.32 |
| apache | struts | ≥ 2.5.0 < 2.5.10.1 |
| ibm | storwize_v3500_firmware | 7.7.1.6 |
| ibm | storwize_v3500_firmware | 7.8.1.0 |
| ibm | storwize_v5000_firmware | 7.7.1.6 |
| ibm | storwize_v5000_firmware | 7.8.1.0 |
| ibm | storwize_v7000_firmware | 7.7.1.6 |
| ibm | storwize_v7000_firmware | 7.8.1.0 |
| lenovo | storage_v5030_firmware | 7.7.1.6 |
| lenovo | storage_v5030_firmware | 7.8.1.0 |
| hp | server_automation | 9.1.0 |
| hp | server_automation | 10.0.0 |
| hp | server_automation | 10.1.0 |
| hp | server_automation | 10.2.0 |
| hp | server_automation | 10.5.0 |
| oracle | weblogic_server | 10.3.6.0.0 |
| oracle | weblogic_server | 12.1.3.0.0 |
| oracle | weblogic_server | 12.2.1.1.0 |
| oracle | weblogic_server | 12.2.1.2.0 |
| arubanetworks | clearpass_policy_manager | < 6.6.5 |
| netapp | oncommand_balance | todas |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- blog.talosintelligence.com Exploit Third Party Advisory
- blog.trendmicro.com Exploit Third Party Advisory
- www.arubanetworks.com Third Party Advisory
- www.eweek.com Press/Media Coverage Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- arstechnica.com Exploit Press/Media Coverage
- cwiki.apache.org Mitigation Vendor Advisory
- cwiki.apache.org Mitigation Vendor Advisory
- exploit-db.com Exploit Third Party Advisory VDB Entry
- git1-us-west.apache.org Broken Link
- git1-us-west.apache.org Broken Link
- github.com Exploit
- github.com Exploit Issue Tracking
- h20566.www2.hpe.com Broken Link
- h20566.www2.hpe.com Third Party Advisory
- h20566.www2.hpe.com Third Party Advisory
- isc.sans.edu Exploit Third Party Advisory
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- nmap.org Exploit Third Party Advisory
- packetstormsecurity.com Broken Link Exploit Third Party Advisory
- security.netapp.com Third Party Advisory
- struts.apache.org Mitigation Vendor Advisory
- struts.apache.org Mitigation Vendor Advisory
- support.lenovo.com Third Party Advisory
- twitter.com Broken Link Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.imperva.com Third Party Advisory
- www.kb.cert.org Third Party Advisory US Government Resource
- www.symantec.com Broken Link
- www.cisa.gov US Government Resource