CWE
20 77
Advisory Published
CVE Published
Updated

CVE-2011-1154: Input Validation

First published: Sun Feb 27 2011(Updated: )

A shell command injection flaw was found in the way the logrotate utility handled shred configuration directive (intended to ensure the log files are not readable after their scheduled deletion). A local attacker could use this flaw to execute arbitrary system commands (if the logrotate was run under privileged system user account, root) when the logrotate utility was run on a log file, within attacker controllable directory.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Logrotate=3.6.5
Logrotate=3.7.8
Logrotate=3.5.9-r1
Logrotate=3.7.6
Logrotate=3.3-r2
Logrotate=3.7.2
Logrotate=3.7
Logrotate=3.7.1-r2
Logrotate=3.6.5-r1
Logrotate=3.5.9
Logrotate=3.7.1-r1
Logrotate<=3.7.9
Logrotate=3.7.1
Logrotate=3.7.7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2011-1154?

    CVE-2011-1154 is considered to have a high severity due to the potential for arbitrary command execution by a local attacker.

  • How do I fix CVE-2011-1154?

    To fix CVE-2011-1154, update the logrotate software to a version that has patched the vulnerability.

  • Which versions of logrotate are affected by CVE-2011-1154?

    CVE-2011-1154 affects logrotate versions 3.3 to 3.7.9, particularly from Gentoo.

  • Can CVE-2011-1154 be exploited remotely?

    No, CVE-2011-1154 requires local access to exploit the command injection vulnerability.

  • What is a shell command injection vulnerability in the context of CVE-2011-1154?

    A shell command injection vulnerability allows an attacker to execute arbitrary commands on the system by manipulating the input to vulnerable software.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203