CVE-2022-40497 Code injection in n/a

High 8.8 Published Updated

Authenticated attackers can execute arbitrary code on Wazuh servers via the Active Response endpoint, requiring immediate patching.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-40497?

CVE-2022-40497 is a high-severity code injection vulnerability in Wazuh Wazuh, published on 27 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2022-40497?

It affects 1 product.

Products include Wazuh Wazuh.

How do I fix CVE-2022-40497?

No fix has been published for CVE-2022-40497 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-40497 being exploited?

There is no known exploitation of CVE-2022-40497 in the wild and no public exploit code.

All Wazuh Wazuh vulnerabilities

Sources

Also known as GHSA-q6rw-39p5-wphc.

Is CVE-2022-40497 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free