acpid Log File Permissions May Let Local Users Gain Elevated Privileges
SecurityTracker Alert ID: 1023284|
SecurityTracker URL: http://securitytracker.com/id/1023284
(Links to External Site)
Date: Dec 7 2009
Execution of arbitrary code via local system, Root access via local system, User access via local system|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes |
A vulnerability was reported in acpid on Red Hat Enterprise Linux. A local user can obtain elevated privileges on the target system.|
The acpid daemon may create its log file ('/var/log/acpid') with random permissions on some Red Hat Enterprise Linux systems. If the log file is created with the set user id (setuid) or set group id (setgid) permissions and with world-writable permissions, a local user can modify and execute the file to gain elevated privileges.
The vulnerability is due to a Red Hat-specific patch (acpid-1.0.4-fd.patch) included in the Red Hat Enterprise Linux 5 acpid package. The upstream version is not affected.
A local user can obtain elevated privileges on the target system.|
Red Hat has issued a fix.|
The Red Hat advisory is available at:
Vendor URL: acpid.sourceforge.net/ (Links to External Site)
Access control error|
|Underlying OS: Linux (Red Hat Enterprise)|
|Underlying OS Comments: 5|
Source Message Contents
Subject: [RHSA-2009:1642-02] Important: acpid security update|
-----BEGIN PGP SIGNED MESSAGE-----
Red Hat Security Advisory
Synopsis: Important: acpid security update
Advisory ID: RHSA-2009:1642-02
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2009-1642.html
Issue date: 2009-12-07
CVE Names: CVE-2009-4033
An updated acpid package that fixes one security issue is now available for
Red Hat Enterprise Linux 5.
This update has been rated as having important security impact by the Red
Hat Security Response Team.
2. Relevant releases/architectures:
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
acpid is a daemon that dispatches ACPI (Advanced Configuration and Power
Interface) events to user-space programs.
It was discovered that acpid could create its log file ("/var/log/acpid")
with random permissions on some systems. A local attacker could use this
flaw to escalate their privileges if the log file was created as
world-writable and with the setuid or setgid bit set. (CVE-2009-4033)
Please note that this flaw was due to a Red Hat-specific patch
(acpid-1.0.4-fd.patch) included in the Red Hat Enterprise Linux 5 acpid
Users are advised to upgrade to this updated package, which contains a
backported patch to correct this issue.
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
5. Bugs fixed (http://bugzilla.redhat.com/):
515062 - /var/log/acpid has improper permissions
542926 - CVE-2009-4033 acpid: log file created with random permissions
6. Package List:
Red Hat Enterprise Linux Desktop (v. 5 client):
Red Hat Enterprise Linux (v. 5 server):
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
The Red Hat security contact is <firstname.lastname@example.org>. More contact
details at https://www.redhat.com/security/team/contact/
Copyright 2009 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-----END PGP SIGNATURE-----
Enterprise-watch-list mailing list