CVE-2020-1938criticalbajo ataque

CVE-2020-1938: fallo crítico en Apache Tomcat

Publicada el · Actualizada el

Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.

100Vexday Risk Score

Corrige ahora. Ella está bajo explotación confirmada por CISA y tiene exploit funcional público.

ssvc Actcvss 9.8epss 99%
de la publicación al armael mismo día
Publicada en NVD24 feb
1ª PoC6 jun
metasploit20 feb
CISA KEV+738d
Lo que declaran los fabricantes (VEX)

Declaraciones oficiales de los fabricantes en formato CSAF/VEX: si su producto está afectado, ya corregido o descartado — y por qué. Es afirmación del fabricante, no juicio de Vexday.

Afectado
4 productos (5 componentes)
Red Hat OpenStack Platform 13 (Queens) · Red Hat Enterprise Linux 5 · Red Hat JBoss Data Grid 6 · Red Hat OpenStack Platform 10 (Newton)
workaround: Please refer to the Red Hat knowledgebase article: https://access.redhat.com/solutions/4851251
Corregido
34 productos (825 componentes)
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5 Server · Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server · Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server · Red Hat Enterprise Linux AppStream (v. 8) · Red Hat JBoss Web Server 3.1 for RHEL 6 · y otros 29
No afectado
5 productos (9 componentes) — porque el código vulnerable no está presente en el producto
Red Hat Software Collections · Red Hat Decision Manager 7 · Red Hat JBoss Data Virtualization 6 · Red Hat JBoss Fuse 6 · Red Hat Process Automation 7
Acción exigida por CISAplazo federal: 2022-03-17

Apply updates per vendor instructions.

En resumen

El conector AJP de Apache Tomcat estaba habilitado por defecto y confiaba demasiado en las conexiones, permitiendo a atacantes leer cualquier archivo de la aplicación web o ejecutar código procesando archivos como scripts JSP.

Detalle técnico

El Conector AJP en Tomcat 9.0.0.M1-9.0.0.30, 8.5.0-8.5.50 y 7.0.0-7.0.99 estaba habilitado por defecto en todas las interfaces con validación insuficiente. Un atacante con acceso al puerto AJP puede explorar la vulnerabilidad para recuperar archivos arbitrarios o ejecutar código JSP arbitrario, resultando en ejecución remota de código si se combina con capacidades de carga de archivos.

Resumen generado y traducido por IA a partir de la descripción oficial.

El análisis completo de esta CVE está disponible en portugués →

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that may be surprising. In Apache Tomcat 9.0.0.M1 to 9.0.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99, Tomcat shipped with an AJP Connector enabled by default that listened on all configured IP addresses. It was expected (and recommended in the security guide) that this Connector would be disabled if not required. This vulnerability report identified a mechanism that allowed: - returning arbitrary files from anywhere in the web application - processing any file in the web application as a JSP Further, if the web application allowed file upload and stored those files within the web application (or the attacker was able to control the content of the web application by some other means) then this, along with the ability to process a file as a JSP, made remote code execution possible. It is important to note that mitigation is only required if an AJP port is accessible to untrusted users. Users wishing to take a defence-in-depth approach and block the vector that permits returning arbitrary files and execution as JSP may upgrade to Apache Tomcat 9.0.31, 8.5.51 or 7.0.100 or later. A number of changes were made to the default AJP Connector configuration in 9.0.31 to harden the default configuration. It is likely that users upgrading to 9.0.31, 8.5.51 or 7.0.100 or later will need to make small changes to their configurations.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
Apache · Apache Tomcat
PoCs públicas encontradas — 43✓ VexDay Proof
exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/49039exploitdbwww.exploit-db.com/exploits/48143no verificadogithubgithub.com/00theway/Ghostcat-CNVD-2020-10487★ 424githubgithub.com/lizhianyuguangming/TomcatScanPro★ 301githubgithub.com/bkfish/CNVD-2020-10487-Tomcat-Ajp-lfi-Scanner★ 294githubgithub.com/tpt11fb/AttackTomcat★ 259githubgithub.com/sv3nbeast/CVE-2020-1938-Tomact-file_include-file_read★ 57githubgithub.com/xindongzhuaizhuai/CVE-2020-1938★ 45githubgithub.com/laolisafe/CVE-2020-1938★ 38githubgithub.com/Hancheng-Lei/Hacking-Vulnerability-CVE-2020-1938-Ghostcat★ 24githubgithub.com/woaiqiukui/CVE-2020-1938TomcatAjpScanner★ 15githubgithub.com/fairyming/CVE-2020-1938★ 11githubgithub.com/dacade/CVE-2020-1938★ 9githubgithub.com/doggycheng/CNVD-2020-10487★ 8githubgithub.com/fatal0/tomcat-cve-2020-1938-check★ 7githubgithub.com/w4fz5uck5/CVE-2020-1938-Clean-Version★ 6githubgithub.com/YounesTasra-R4z3rSw0rd/CVE-2020-1938★ 3githubgithub.com/sgdream/CVE-2020-1938★ 3githubgithub.com/delsadan/CNVD-2020-10487-Bulk-verification★ 3githubgithub.com/Just1ceP4rtn3r/CVE-2020-1938-Tool★ 3githubgithub.com/h7hac9/CVE-2020-1938★ 2githubgithub.com/Warelock/cve-2020-1938★ 2githubgithub.com/With-fate/CVE-2020-1938★ 1githubgithub.com/Neko-chanQwQ/CVE-2020-1938★ 1githubgithub.com/jptr218/ghostcat★ 1githubgithub.com/streghstreek/CVE-2020-1938★ 1githubgithub.com/shaunmclernon/ghostcat-verification★ 1githubgithub.com/abrewer251/CVE-2020-1938_Ghostcat-PoC★ 0githubgithub.com/duckpigdog/Tomcat-AJP-CVE-2020-1938★ 0githubgithub.com/CyberCTF/vulhub-tomcat-cve-2020-1938★ 0githubgithub.com/Mohammad-Anon/CVE-2020-1938★ 0githubgithub.com/sangrok-jeon/CVE-2020-1938-Tomcat-AJP-Ghostcat--Analysis★ 0githubgithub.com/cyberguardsec101-sketch/ghostcat★ 0githubgithub.com/I-Runtime-Error/CVE-2020-1938★ 0githubgithub.com/RedTeam-Rediron/CVE-2020-1938★ 0githubgithub.com/Umesh2807/Ghostcat★ 0githubgithub.com/si1ence90/Ghostcat-Tomcat-AJP-Exploit-Py3★ 0githubgithub.com/aidilzlkfli/Scanning★ 0githubgithub.com/MateoSec/ghostcatch★ 0githubgithub.com/lem0n817/tomcatfileread★ 0githubgithub.com/hopsypopsy8/CVE-2020-1938-Exploitation★ 0githubgithub.com/acodervic/CVE-2020-1938-MSF-MODULE★ 0githubgithub.com/whatboxapp/GhostCat-LFI-exp★ 0
⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.