llamaCVEVulnerability Intelligence
/
cacti

CVE-2024-25641

Cacti RCE vulnerability when importing packages

Crítica · EPSS ≥ 10 %Parche disponible
Descargar PNG JSON
CVSS 3.1
9.1
Crítica
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
7.2NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
ExplotaciónExploit públicoSSVC: poc · no figura en CISA KEV
Exploits públicos93 fuentes
Parche1 versión1.2.27
Exposición919 dDesde la divulgación, 13 may 2024, 8:28 a. m.
EPSS ≥ 10 %2 nov 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Exploit-DB
Umbral EPSS
Remediación
Monitoreo
Detectada
Verificada
13 may 24
17 may 24
15 abr 25
4 nov 25
2 nov 26
3 nov 26
13 nov 26
19 nov 26
13 may 24
29 dic 24
16 ago 25
3 abr 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2024-25641 divulgada · CVSS 9.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Explotación Exploit-DB 1 exploit público
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
Resumen

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, an arbitrary file write vulnerability, exploitable through the "Package Import" feature, allows authenticated users having the "Import Templates" permission to execute arbitrary PHP code on the web server. The vulnerability is located within the `import_package()` function defined into the `/lib/import.php` script. The function blindly trusts the filename and file content provided within the XML data, and writes such files into the Cacti base path (or even outside, since path traversal sequences are not filtered). This can be exploited to write or overwrite arbitrary files on the web server, leading to execution of arbitrary PHP code or other security impacts. Version 1.2.27 contains a patch for this issue.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:H
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
cacti< 1.2.27
1.2.27
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
cacti
Corregida 1.2.27 — —
Versiones corregidas1.2.27
Explotación

Arsenal público

Exploit-DB
EDB-52225
1
Metasploit
modules/exploits/multi/http/cacti_package_import_rce.rb
1
Nuclei
—
0
PoC en GitHub
5ma1l/CVE-2024-25641 · D3Ext/CVE-2024-25641 · GabrielCF10/CVE-2024-25641---Cacti · Safarchand/CVE-2024-25641 · StopThatTalace/CVE-2024-25641-CACTI-RCE-1.2.26 · leo-mitch/CVE-2024-25641-RCE-Automated-Exploit-Cacti-1.2.26 …
7
Ver los 7 repositorios de GitHub
5ma1l/CVE-2024-25641
D3Ext/CVE-2024-25641
GabrielCF10/CVE-2024-25641---Cacti
Safarchand/CVE-2024-25641
StopThatTalace/CVE-2024-25641-CACTI-RCE-1.2.26
leo-mitch/CVE-2024-25641-RCE-Automated-Exploit-Cacti-1.2.26
regantemudo/CVE-2024-25641-Exploit-for-Cacti-1.2.26

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.

Referencias
Fabricantehttps://github.com/Cacti/cacti/security/advisories/GHSA-7cmj-g5qc-pj88
Análisishttp://seclists.org/fulldisclosure/2024/May/6
Exploithttps://www.exploit-db.com/exploits/52225
Exploithttps://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/cacti_package_import_rce.rb
Exploithttps://github.com/5ma1l/CVE-2024-25641
Exploithttps://github.com/D3Ext/CVE-2024-25641
Exploithttps://github.com/GabrielCF10/CVE-2024-25641---Cacti
Exploithttps://github.com/Safarchand/CVE-2024-25641
Exploithttps://github.com/StopThatTalace/CVE-2024-25641-CACTI-RCE-1.2.26
Exploithttps://github.com/leo-mitch/CVE-2024-25641-RCE-Automated-Exploit-Cacti-1.2.26
Exploithttps://github.com/regantemudo/CVE-2024-25641-Exploit-for-Cacti-1.2.26
Otrahttps://github.com/Cacti/cacti/commit/eff35b0ff26cc27c82d7880469ed6d5e3bef6210
Ver 1 referencias más
Otrahttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.