CVE-2024-1243
JSON

9.5critical

Remote code execution and local privilege escalation in Wazuh Windows agent via NetNTLMv2 hash theft

Severity
9.5critical CVSS:4.0 by Pentraze
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Pentraze

Description

Improper input validation in the Wazuh agent for Windows prior to version 4.8.0 allows an attacker with control over the Wazuh server or agent key to configure the agent to connect to a malicious UNC path. This results in the leakage of the machine account NetNTLMv2 hash, which can be relayed for remote code execution or used to escalate privileges to SYSTEM via AD CS certificate forging and other similar attacks.

Affected

Product or packageVersionsReported by
Wazuh Wazuh Agent< 4.8.0CVE List
wazuh wazuhbefore 4.8.0NVD

All scores

Pentraze9.5critical CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20CWE-73

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

Improper input validation in the Wazuh agent for Windows prior to version 4.8.0 allows an attacker with control over the Wazuh server or agent key to configure the agent to connect to a malicious UNC path. This results in the leakage of the machine account NetNTLMv2 hash, which can be relayed for remote code execution or used to escalate privileges to SYSTEM via AD CS certificate forging and other similar attacks.

NVD (es)

La validación de entrada incorrecta en el agente de Wazuh para Windows anterior a la versión 4.8.0 permite que un atacante con control sobre el servidor o la clave del agente de Wazuh configure el agente para conectarse a una ruta UNC maliciosa. Esto provoca la filtración del hash NetNTLMv2 de la cuenta de la máquina, que puede retransmitirse para la ejecución remota de código o utilizarse para escalar privilegios al SYSTEM mediante la falsificación de certificados de AD CS y otros ataques similares.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-1243 changed 2025-06-11CVE Terms of Use
NVDCVE-2024-1243 changed 2026-06-17Public domain