VDB

CVE-2024-49368

CVE-2024-49368 PUBLISHED CVSS 8.9 HIGH

Unchecked logrotate settings lead to arbitrary command execution

Reported by github_m · Published October 21, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nginx_uinginxui2.0.0-beta.36

Risk scores

CVSS 4.0
8.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Affected products

VendorProductVersions
0xJackynginx-ui< 2.0.0-beta.36
nginxuinginx_ui0
0xJackynginx-ui0

Timeline

  • Oct 21, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Oct 21, 2024 CVE Published
  • Oct 21, 2024 PoC Published (4 in total, the first dated here)
  • Oct 22, 2024 EPSS Score (30 in total, the first dated here)
  • Jan 3, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-49368
vulnetix vdb fixes CVE-2024-49368

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-49368/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›