CVE-2024-49368
Published: 21 October 2024
Summary
CVE-2024-49368 is a high-severity Improper Input Validation (CWE-20) vulnerability in Nginxui Nginx Ui. Its CVSS base score is 8.9 (High).
Operationally, ranked in the top 2.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Nginx UI, a web-based management interface for the Nginx web server, contains a command injection vulnerability in versions prior to 2.0.0-beta.36. When configuring logrotate, the application fails to sanitize user-supplied input and passes it directly to exec.Command, enabling arbitrary command execution on the underlying host. The flaw is tracked as CWE-20 and carries a CVSS 4.0 score of 8.9.
An unauthenticated remote attacker can supply malicious input through the logrotate configuration workflow to execute arbitrary operating-system commands. Successful exploitation grants full control over confidentiality, integrity, and availability of the affected system without requiring user interaction or credentials.
The project’s security advisory and release notes state that the issue is resolved in version 2.0.0-beta.36, which adds proper input validation before invoking external commands. Administrators are advised to upgrade immediately and to restrict network access to the management interface until the patch is applied.
The CVE’s EPSS score reached a peak of 0.6753 and currently stands at 0.5224, indicating sustained public interest in exploitation after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-43405
Vulnerability details
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…
more
this issue.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.
Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.
Directly implements checks on information inputs to reject invalid data before processing.
Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.