Linux Audit audit_log_user_command() buffer overflow
| linuxaudit-auditlogusercommand-bo (41576) |
Description:
Linux Audit is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the audit_log_user_command() function. By sending an overly long command argument, a local attacker could overflow a buffer and execute arbitrary code on the system with libaudit privileges, or cause the application to crash.
Platforms Affected:
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 2008.0 X86_64
- MandrakeSoft, Mandrake Linux 2008.0
- MandrakeSoft, Mandrake Linux 2008.1 X86_64
- MandrakeSoft, Mandrake Linux 2008.1
- Steve Grubb, Linux Audit prior to 1.7
Remedy:
Upgrade to the latest version of Linux Audit (1.7 or later), available from the Linux Audit Web page. See References.
Consequences:
Gain Privileges
References:
- audit ChangeLog, 1.7, 1.7 at http://people.redhat.com/sgrubb/audit/ChangeLog.
- Linux Audit Web page, Linux Audit at http://people.redhat.com/sgrubb/audit/.
- BID-28524: Linux Audit Daemon 'audit_log_user_command()' Local Buffer Overflow Vulnerability
- CVE-2008-1628: Stack-based buffer overflow in the audit_log_user_command function in lib/audit_logging.c in Linux Audit before 1.7 might allow remote attackers to execute arbitrary code via a long command argument. NOTE: some of these details are obtained from third party information.
- FrSIRT/ADV-2008-1052: Linux Audit audit_log_user_command() Buffer Overflow Vulnerability
- GLSA-200807-14: Linux Audit: Buffer overflow
- MDVSA-2008:083: Updated audit packages fix vulnerability
- SA29617: Linux Audit "audit_log_user_command()" Buffer Overflow
- SECTRACK ID: 1019824: Audit Stack Overflow in audit_log_user_command() Lets Remote Users Execute Arbitrary Code
- SUSE-SR:2008:010: SUSE Security Summary Report
Reported:
Mar 31, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
