Skip to main content
← All vulnerabilities
CVE-2024-23827GO-2024-2481GHSA-XVQ9-4VPV-227M

Nginx-UI arbitrary file write through the Import Certificate feature

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0.beta.12, 1.9.10-0.20240128060047-8581bdd3c6f4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • 0xJacky nginx-ui

    fixed in 2.0.0.beta.12

  • github.com/0xJacky/Nginx-UIGo

    All versions

  • github.com/0xJacky/Nginx-UIGo

    fixed in 1.9.10-0.20240128060047-8581bdd3c6f4

References 1

GitHub · 0xJacky/nginx-ui