{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-49367 exists.","fix":"No fix has been published for CVE-2024-49367 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-49367 is a medium-severity path traversal vulnerability in 0xJacky nginx-ui, published on 21 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-49367 and fix it if it is affected.\n\nWhat it is: CVE-2024-49367 is a medium-severity path traversal vulnerability in 0xJacky nginx-ui, published on 21 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-49367 exists.\n\nAffected product: 0xJacky nginx-ui. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-49367/ (Markdown: https://insights.sbomify.com/CVE-2024-49367/index.md)","id":"CVE-2024-49367","markdown":"https://insights.sbomify.com/CVE-2024-49367/index.md","name":"CVE-2024-49367","record":{"aliases":["GHSA-gr34-jgw4-7j4m"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Nginx web UI","requires_auth":"none","summary":"Attackers can manipulate log paths and combine with directory traversal to read arbitrary files on the server hosting Nginx UI.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nginx_ui","vendor":"nginxui"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, the log path of nginxui is controllable. This issue can be combined with the directory traversal at `/api/configs` to read directories and file contents on the server. Version 2.0.0-beta.36 fixes the issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Nginx UI's log path can be controlled","id":"CVE-2024-49367","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Unchecked logrotate settings lead to arbitrary command execution","id":"CVE-2024-49368"},"packages":[],"prev":{"headline":"Nginx UI's json field can construct a directory traversal payload, causing arbitrary files to be written","id":"CVE-2024-49366"},"products":["nginx-ui"],"published":"2024-10-21","related":[{"cvss_score":9.8,"headline":"Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover","id":"CVE-2026-33032","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":9.8,"headline":"Nginx UI: Unauthenticated Backup Download with Encryption Key Disclosure","id":"CVE-2026-27944","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":9.8,"headline":"Nginx-UI arbitrary file write through the Import Certificate feature","id":"CVE-2024-23827","kev_date_added":null,"published":"2024-01-29"},{"cvss_score":9.4,"headline":"Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite","id":"CVE-2026-107806","kev_date_added":null,"published":"2026-10-09"},{"cvss_score":9.4,"headline":"nginx-ui Backup Restore Allows Tampering with Encrypted Backups","id":"CVE-2026-33026","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":9,"headline":"Unauthenticated Remote Code Execution via Backup Restore in nginx-ui","id":"CVE-2026-42238","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":8.9,"headline":"Unchecked logrotate settings lead to arbitrary command execution","id":"CVE-2024-49368","kev_date_added":null,"published":"2024-10-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-21","vendors":["0xJacky"]},"summary":"Attackers can manipulate log paths and combine with directory traversal to read arbitrary files on the server hosting Nginx UI.","url":"https://insights.sbomify.com/CVE-2024-49367/"}