CVE-2022-24715 Arbitrary code execution for authenticated users in Icinga Web 2

High 8.5 Published Updated

Authenticated users can exploit path traversal to create SSH resource files in unintended directories, leading to arbitrary code execution.

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

What is CVE-2022-24715?

CVE-2022-24715 is a high-severity path traversal vulnerability in icingaweb2, published on 8 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Icinga Web 2 is an open source monitoring web interface, framework and command-line interface. Authenticated users, with access to the configuration, can create SSH resource files in unintended directories, leading to the execution of arbitrary code. This issue has been resolved in versions 2.8.6, 2.9.6 and 2.10 of Icinga Web 2. Users unable to upgrade should limit access to the Icinga Web 2 configuration.

Weakness: CWE-22

Which versions are affected by CVE-2022-24715?

It affects 1 product.

Products include Icinga Icinga Web 2.

How do I fix CVE-2022-24715?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-24715 being exploited?

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

Public exploit code: 1 Exploit-DB entry and 3 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2022-24715, GHSA-v9mv-h52f-7g63, UBUNTU-CVE-2022-24715.

Is CVE-2022-24715 in your software?

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

Check your SBOMs for free