CVE-2024-49367
Nginx UI vulnerability analysis and mitigation

Overview

Nginx UI, a web user interface for the Nginx web server, was found to contain a vulnerability (CVE-2024-49367) prior to version 2.0.0-beta.36. The vulnerability was discovered and disclosed on October 21, 2024, affecting all versions up to and including v2.0.0-beta.35. The issue involves controllable log paths that could be exploited to read directories and file contents on the server (NVD, GitHub Advisory).

Technical details

The vulnerability stems from insufficient validation of log path settings in Nginx UI. When combined with a directory traversal vulnerability at /api/configs, attackers can manipulate the log path to read arbitrary directories and file contents. The issue received a CVSS v3.1 base score of 7.5 (HIGH) and a CVSS v4.0 score of 5.5 (MEDIUM). The vulnerability is classified as CWE-862 (Missing Authorization) (NVD).

Impact

The vulnerability allows attackers to read arbitrary directories and file contents on the affected server. This could lead to unauthorized access to sensitive information stored anywhere on the server's filesystem (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 2.0.0-beta.36. Users are advised to upgrade to this version or later. Starting from v2.0.0-beta.36, administrators must explicitly specify the directories where logs are stored through the LogDirWhiteList option in the nginx section of settings (Release Notes).

Additional resources


SourceThis report was generated using AI

Related Nginx UI vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-3738CRITICAL9.8
  • Nginx UINginx UI
  • cpe:2.3:a:nginxui:nginx_ui
NoNoApr 13, 2024
CVE-2024-49368HIGH8.9
  • Nginx UINginx UI
  • cpe:2.3:a:nginxui:nginx_ui
NoYesOct 21, 2024
CVE-2024-23828HIGH8.8
  • Nginx UINginx UI
  • github.com/0xJacky/Nginx-UI
NoYesJan 29, 2024
CVE-2024-49366HIGH7.7
  • Nginx UINginx UI
  • cpe:2.3:a:nginxui:nginx_ui
NoYesOct 21, 2024
CVE-2024-49367MEDIUM5.5
  • Nginx UINginx UI
  • cpe:2.3:a:nginxui:nginx_ui
NoYesOct 21, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management