CVE-2024-49368
Nginx UI Arbitrary Command Execution Vulnerability
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.
INFO
Published Date :
Oct. 21, 2024, 5:15 p.m.
Last Modified :
Nov. 6, 2024, 6:28 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2024-49368 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49368
.
URL | Resource |
---|---|
https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36 | Release Notes |
https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm | Exploit Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Explorations of CVE-2024-49368 + Exploit Development
Dockerfile Python Go JavaScript HTML
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-49368
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49368
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 06, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36 No Types Assigned https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36 Release Notes Changed Reference Type https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm No Types Assigned https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm Exploit, Vendor Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:* versions up to (including) 1.9.9-4 *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta10:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta10_patch:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta11:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta12:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta13:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta13-patch:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta14:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta15:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta16:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta17:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta18:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta18-patch1:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta18-patch2:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta19:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta20:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta21:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta22:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta23:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta23-patch1:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta23-ptach2:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta24:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta25:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta25-patch1:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta25-ptach2:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta27:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta28:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta29:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta30:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta31:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta32:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta32-patch1:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta33:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta34:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta35:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4_patch:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5_patch:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch2:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta7:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8_patch:*:*:*:*:*:* *cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta9:*:*:*:*:*:* -
CVE Received by [email protected]
Oct. 21, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm [No types assigned] Added Reference GitHub, Inc. https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36 [No types assigned] Added CWE GitHub, Inc. CWE-20 Added CVSS V4.0 GitHub, Inc. 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-49368
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-49368
weaknesses.