cve/2024/CVE-2024-23827.md

19 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-23827](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-23827)
![](https://img.shields.io/static/v1?label=Product&message=nginx-ui&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%202.0.0.beta.12%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brighgreen)
### Description
Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into the system. The feature does not check if the provided user input is a certification/key and allows to write into arbitrary paths in the system. It's possible to leverage the vulnerability into a remote code execution overwriting the config file app.ini. Version 2.0.0.beta.12 fixed the issue.
### POC
#### Reference
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m
2024-06-09 00:33:16 +00:00
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m
2024-05-25 21:48:12 +02:00
#### Github
No PoCs found on GitHub currently.