CVE-2024-23828: Nginx-UI authenticated RCE through injecting into the application config via CRLF

Published Jan 29, 2024
·
Updated

Summary

Fix bypass to the following bugs

- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-pxmr-q2x3-9x9m - https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-8r25-68wm-jw35

Allowing to inject directly in the app.ini via CRLF to change the value of testconfigcmd and startcmd resulting in an Authenticated RCE

Impact Authenticated Remote execution on the host

Other sources

Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to an authenticated arbitrary command execution via CRLF attack when changing the value of testconfigcmd or startcmd. This vulnerability exists due to an incomplete fix for CVE-2024-22197 and CVE-2024-22198. This vulnerability has been patched in version 2.0.0.beta.12.

MITRE

Affected Software

19 affected componentsFixes available
go/github.com/0xJacky/Nginx-UI<2.0.0-beta.12
2.0.0-beta.12
NginxUI Nginx UI<2.0.0
NginxUI Nginx UI=2.0.0-beta1
NginxUI Nginx UI=2.0.0-beta10
NginxUI Nginx UI=2.0.0-beta10_patch
NginxUI Nginx UI=2.0.0-beta11
NginxUI Nginx UI=2.0.0-beta2
NginxUI Nginx UI=2.0.0-beta3
NginxUI Nginx UI=2.0.0-beta4
NginxUI Nginx UI=2.0.0-beta4_patch
NginxUI Nginx UI=2.0.0-beta5
NginxUI Nginx UI=2.0.0-beta5_patch
NginxUI Nginx UI=2.0.0-beta6
NginxUI Nginx UI=2.0.0-beta6_patch
NginxUI Nginx UI=2.0.0-beta6_patch2
NginxUI Nginx UI=2.0.0-beta7
NginxUI Nginx UI=2.0.0-beta8
NginxUI Nginx UI=2.0.0-beta8_patch
NginxUI Nginx UI=2.0.0-beta9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/0xJacky/Nginx-UI to a version that resolves this vulnerability.

    Fixed in 2.0.0-beta.12
  2. Upgrade

    Upgrade nginx-ui to a version that resolves this vulnerability.

    Fixed in 2.0.0.beta.12Patch GHSA-8r25-68wm-jw35
  3. Upgrade

    Upgrade nginx-ui to a version that resolves this vulnerability.

    Fixed in 2.0.0.beta.12Patch GHSA-pxmr-q2x3-9x9m

Event History

Jan 29, 2024
CVE Published
via MITRE·04:49 PM
Data Sourced
via MITRE·04:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·10:30 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-23828?

CVE-2024-23828 is considered a critical vulnerability due to the potential for direct injection into the app.ini file.

2

How do I fix CVE-2024-23828?

To fix CVE-2024-23828, you should upgrade to version 2.0.0-beta.12 or later of Nginx-UI.

3

Which software versions are affected by CVE-2024-23828?

CVE-2024-23828 affects versions earlier than 2.0.0-beta.12 of Nginx-UI and several beta versions prior to that.

4

What types of attacks does CVE-2024-23828 facilitate?

CVE-2024-23828 facilitates configuration manipulation attacks by allowing CRLF injection into the application.

5

Is there a workaround for CVE-2024-23828?

There are no known workarounds for CVE-2024-23828; updating the software is the only recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203