CVE-2022-40497: Wazuh - Remote Code Execution
- Cve: CVE-2022-40497
- Name: Wazuh - Remote Code Execution
- Description: Wazuh v3.6.1 - v3.13.5, v4.0.0 - v4.2.7, and v4.3.0 - v4.3.7 were discovered to contain an authenticated remote code execution (RCE) vulnerability via the Active Response endpoint.
- Impact: Authenticated attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Update to the latest version of Wazuh where the vulnerability is fixed.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01648
- Epss percentile: 0.77112
- Assignee: [email protected]
- Published at: 2022-09-28T00:15:09Z
- Age in days: 1518
- Modified at: 2026-06-17T05:01:28Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-40497
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
| CWE-94 | Improper Control of Generation of Code |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/wazuh/wazuh/pull/14801 | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wazuh:wazuh | >= 4.3.0, <= 4.3.7; >= 4.0.0, <= 4.2.7; >= 3.6.1, <= 3.13.5 | no | nvd | /v1/products/wazuh/wazuh |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| wazuh/wazuh | pull | yes | /v1/repositories/wazuh/wazuh |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 7218
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports