CVE-2024-35177: Wazuh - Privilege Escalation
- Cve: CVE-2024-35177
- Name: Wazuh - Privilege Escalation
- Description: Wazuh is a free and open source platform used for threat prevention, detection, and response. It is capable of protecting workloads across on-premises, virtualized, containerized, and cloud-based environments. The wazuh-agent for Windows is vulnerable to a Local Privilege Escalation vulnerability due to improper ACL of the non-default installation directory. A local malicious user could potentially exploit this vulnerability by placing one of the many DLL that are loaded and not present on the system in the installation folder of the agent OR by replacing the service executable binary itself with a malicious one. The root cause is an improper ACL applied on the installation folder when a non-default installation path is specified (e.g,: C:\wazuh). Many DLLs are loaded from the installation folder and by creating a malicious DLLs that exports the functions of a legit one (and that is not found on the system where the agent is installed, such as rsync.dll) it is possible to escalate privileges from a low-privileged user and obtain code execution under the context of NT AUTHORITY\SYSTEM. This issue has been addressed in version 4.9.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
- Impact: Local attackers can escalate privileges to SYSTEM, potentially leading to full system compromise.
- Remediation: Upgrade to version 4.9.0 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs local user access
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00262
- Epss percentile: 0.17964
- Assignee: [email protected]
- Published at: 2025-02-03T22:15:27Z
- Age in days: 659
- Modified at: 2026-06-17T07:34:29Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-35177
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/wazuh/wazuh/security/advisories/GHSA-pmr2-2r83-h3cv | nvd | 2025-02-03 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/wazuh/wazuh/security/advisories/GHSA-pmr2-2r83-h3cv | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wazuh:wazuh | >= 3.0.0, < 4.9.0 | no | nvd | /v1/products/wazuh/wazuh |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| wazuh/wazuh | security_advisory | yes | /v1/repositories/wazuh/wazuh |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-02-03
- Authentication required: yes
- Exposed hosts: 7218
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports