CVE-2024-49368 Unchecked logrotate settings lead to arbitrary command execution

High 8.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2024-49368?

CVE-2024-49368 is a high-severity vulnerability in 0xJacky nginx-ui, published on 21 Oct 2024.

Official description

Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, when Nginx UI configures logrotate, it does not verify the input and directly passes it to exec.Command, causing arbitrary command execution. Version 2.0.0-beta.36 fixes this issue.

Weakness: CWE-20

Which versions are affected by CVE-2024-49368?

It affects 1 product.

Products include Nginxui Nginx Ui.

How do I fix CVE-2024-49368?

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

Is CVE-2024-49368 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-66m6-27r9-77vm.

Is CVE-2024-49368 in your software?

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

Check your SBOMs for free