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.
CVSS:3.1/AV:N/AC:L/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.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 |
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.
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.
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-core |
Corregida | 2.3.32, 2.5.10.1 | -5 d · -5 d | 7.5.0 no afectada |
2.3.322.5.10.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://struts.apache.org/docs/s2-046.htmlhttps://struts.apache.org/docs/s2-045.htmlhttps://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493971e7d5a756d61780d57a76eb1f519ahttps://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce47160036ed120a48345d9aa884477228https://cwiki.apache.org/confluence/display/WW/S2-045https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/https://exploit-db.com/exploits/41570https://github.com/rapid7/metasploit-framework/issues/8064https://packetstormsecurity.com/files/141494/S2-45-poc.py.txthttps://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.htmlhttp://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txthttps://security.netapp.com/advisory/ntap-20170310-0001/Ver 13 referencias más
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.htmlhttps://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerability-in-apache-struts-2/https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03733en_ushttps://www.kb.cert.org/vuls/id/834067https://isc.sans.edu/diary/22169http://www.securitytracker.com/id/1037973http://www.eweek.com/security/apache-struts-vulnerability-under-attack.htmlhttp://www.securityfocus.com/bid/96729https://twitter.com/theog150/status/841146956135124993https://github.com/mazen160/struts-pwnhttps://www.symantec.com/security-center/network-protection-security-advisories/SA145https://support.lenovo.com/us/en/product_security/len-14200https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03723en_usLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
