CVE-2024-1243 PUBLISHED

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

Assigner: Pentraze
Reserved: 06.02.2024 Published: 11.06.2025 Updated: 11.06.2025

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CVSS Score: 9.5

Product Status

Vendor Wazuh
Product Wazuh Agent
Versions Default: unaffected
  • Version < 4.8.0 is affected

Credits

  • Rilke Petrosky of Pentraze Cybersecurity finder

References

Problem Types

  • CWE-73: External Control of File Name or Path CWE
  • CWE-20 Improper Input Validation CWE

Impacts

  • CAPEC-644 Use of Captured Hashes (Pass The Hash)
  • CAPEC-73 User-Controlled Filename