llamaCVEVulnerability Intelligence
/
Nginx UI

CVE-2024-49368

Nginx UI arbitrary command execution via logrotate settings

An attacker who can supply logrotate settings could run arbitrary commands on the host system.

Crítica · EPSS ≥ 10 %UnclearParche disponibleimproper input validation
Descargar PNG JSON
CVSS 4.0
8.9
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P Fuente: CNA
9.8NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos11 fuente
Parche2 versiones2.0.0-beta.36 · v2.0.0-beta.36
Exposición758 dDesde la divulgación, 21 oct 2024, 12:04 p. m.
EPSS ≥ 10 %2 nov 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, 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
Umbral EPSS
Remediación
Monitoreo
Detectada +1
Verificada
21 oct 24
1 nov 24
2 nov 26
3 nov 26
4 nov 26
18 nov 26
19 nov 26
21 oct 24
29 abr 25
5 nov 25
13 may 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2024-49368 divulgada · CVSS 8.9 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

Nginx UI, a web-based management interface for the Nginx web server, is affected. Because its logrotate configuration input is not validated before being passed to a system command, an attacker who can supply those settings could run arbitrary commands on the host.

¿Qué significa?Nginx UI passes the logrotate command from its settings to exec.Command without checking it, so a user who can change those settings can run arbitrary commands on the host running Nginx UI.
¿Quién está afectado?Nginx UI v2.0.0-beta.35 and earlier are affected when logrotate is enabled and its command is set through the settings API. To check, look at the Nginx UI version and whether logrotate is enabled in its settings.
¿Qué hacer?Upgrade Nginx UI to v2.0.0-beta.36, which is the listed fixed version.
Descripción original del registro (GitHub_M)

Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, when Nginx UI configures logrotate, it does not verify the input and directly passes it to exec.Command, causing arbitrary command execution. Version 2.0.0-beta.36 fixes this issue.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Nginx UI version v2.0.0-beta.35 or earlier“<=v2.0.0-beta.35”
02
Logrotate is enabled and its command is set through the settings API“Logrotate can be configured directly and is fully controllable.”
¿Quién debe revisar?Teams running 0xJacky nginx-ui v2.0.0-beta.35 or earlier with logrotate configured through settings
Vector CVSS 3.1

Desglose de métricas

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

Rangos afectados

Afectada Corregida
nginx-ui< 2.0.0-beta.36
2.0.0-beta.36
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
nginx-ui
Corregida 2.0.0-beta.36 — —
Versiones corregidas2.0.0-beta.36v2.0.0-beta.36
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
Aashay221999/CVE-2024-49368
1
Ver los 1 repositorios de GitHub
Aashay221999/CVE-2024-49368

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/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm
Exploithttps://github.com/Aashay221999/CVE-2024-49368
Otrahttps://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36

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