CVE-2024-1244 PUBLISHED

Remote code execution and local privilege escalation due to UNC access and NetNTLMv2 hash theft

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

Improper input validation in the OSSEC HIDS agent for Windows prior to version 3.8.0 allows an attacker in with control over the OSSEC server or in possession of the agent's 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 OSSEC
Product OSSEC-HIDS Agent
Versions Default: affected
  • Version 3.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