CVE-2024-32651
changedetection.io remote command execution via Jinja2 templates
An attacker can run any system command on the server and take full control of the host.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2024-32651 divulgada · CVSS 10 (CNA) | |
| Remediación | Parche 0.45.21 | changedetection-io · 0 d desde divulgación | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| 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 | Fuente: Metasploit | Registro visto por primera vez en Metasploit | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
changedetection.io by dgtlmoon has a server-side template injection flaw in Jinja2 that lets an attacker run any system command on the server host, which can lead to full takeover of the machine. It can be reached remotely over the network without logging in or any action by a user, and public exploit code, including a Metasploit module, is available.
Only affects changedetection.io 0.45.20 and earlier, where an attacker can set the notification title or body so it is rendered as a Jinja2 template. No fixed version is named in the checked facts.
Descripción original del registro (GitHub_M)
changedetection.io is an open source web page change detection, website watcher, restock monitor and notification service. There is a Server Side Template Injection (SSTI) in Jinja2 that allows Remote Command Execution on the server host. Attackers can run any system command without any restriction and they could use a reverse shell. The impact is critical as the attacker can completely takeover the server machine. This can be reduced if changedetection is behind a login page, but this isn't required by the application (not by default and not enforced).
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 |
|---|---|---|---|---|
pypichangedetection-io |
Corregida | 0.45.21 | 0 d | 0.70.3 no afectada |
0.45.21Arsenal público
Ver los 2 repositorios de GitHub
Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.
https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/changedetection_rce_cve_2024_32651.rbhttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-32651.yamlhttps://github.com/s0ck3t-s3c/CVE-2024-32651-changedetection-RCEhttps://github.com/zcrosman/cve-2024-32651https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2https://blog.hacktivesecurity.com/index.php/2024/05/08/cve-2024-32651-server-side-template-injection-changedetection-io/Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
