CVE-2024-49368: Unchecked logrotate settings lead to arbitrary command execution

Published Oct 21, 2024
·
Updated

Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, when Nginx UI configures logrotate, it does not verify the input and directly passes it to exec.Command, causing arbitrary command execution. Version 2.0.0-beta.36 fixes this issue.

Affected Software

49 affected components
NginxUI Nginx UI<=1.9.9-4
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-beta12
NginxUI Nginx UI=2.0.0-beta13
NginxUI Nginx UI=2.0.0-beta13-patch
NginxUI Nginx UI=2.0.0-beta14
NginxUI Nginx UI=2.0.0-beta15
NginxUI Nginx UI=2.0.0-beta16
NginxUI Nginx UI=2.0.0-beta17
NginxUI Nginx UI=2.0.0-beta18
NginxUI Nginx UI=2.0.0-beta18-patch1
NginxUI Nginx UI=2.0.0-beta18-patch2
NginxUI Nginx UI=2.0.0-beta19
NginxUI Nginx UI=2.0.0-beta2
NginxUI Nginx UI=2.0.0-beta20
NginxUI Nginx UI=2.0.0-beta21
NginxUI Nginx UI=2.0.0-beta22
NginxUI Nginx UI=2.0.0-beta23
NginxUI Nginx UI=2.0.0-beta23-patch1
NginxUI Nginx UI=2.0.0-beta23-ptach2
NginxUI Nginx UI=2.0.0-beta24
NginxUI Nginx UI=2.0.0-beta25
NginxUI Nginx UI=2.0.0-beta25-patch1
NginxUI Nginx UI=2.0.0-beta25-ptach2
NginxUI Nginx UI=2.0.0-beta27
NginxUI Nginx UI=2.0.0-beta28
NginxUI Nginx UI=2.0.0-beta29
NginxUI Nginx UI=2.0.0-beta3
NginxUI Nginx UI=2.0.0-beta30
NginxUI Nginx UI=2.0.0-beta31
NginxUI Nginx UI=2.0.0-beta32
NginxUI Nginx UI=2.0.0-beta32-patch1
NginxUI Nginx UI=2.0.0-beta33
NginxUI Nginx UI=2.0.0-beta34
NginxUI Nginx UI=2.0.0-beta35
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

Event History

Oct 21, 2024
CVE Published
via MITRE·05:04 PM
Data Sourced
via MITRE·05:04 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
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-49368?

CVE-2024-49368 is classified as a high severity vulnerability due to the potential for arbitrary command execution.

2

How do I fix CVE-2024-49368?

To fix CVE-2024-49368, upgrade to Nginx UI version 2.0.0-beta.36 or later, which addresses the vulnerability.

3

What causes the vulnerability in CVE-2024-49368?

CVE-2024-49368 is caused by the lack of input validation in the logrotate configuration, allowing arbitrary command execution.

4

Which versions are affected by CVE-2024-49368?

CVE-2024-49368 affects Nginx UI versions prior to 2.0.0-beta.36, including earlier beta versions.

5

Is CVE-2024-49368 specific to certain platforms?

CVE-2024-49368 is specifically a vulnerability in the Nginx UI application and does not pertain to specific operating systems.

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