CVE-2024-23827
Nginxui Nginx Ui vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Nginx Ui. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nginxui Nginx Ui runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-23827
- github.com/0xJacky/nginx-ui/commit/8581bdd3c6f49ab345b773517ba9173fa7fc6199
- github.com/0xJacky/nginx-ui/blob/f20d97a9fdc2a83809498b35b6abc0239ec7fdda/api/certificate/
- github.com/0xJacky/nginx-ui/blob/f20d97a9fdc2a83809498b35b6abc0239ec7fdda/internal/cert/wr
- github.com/advisories/GHSA-xvq9-4vpv-227m
- nvd.nist.gov/vuln/detail/CVE-2024-23827
- cve.org/CVERecord?id=CVE-2024-23827
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.