APC apcupsd denial of service
| apc-apcupsd-dos (5654) |
Description:
Apcupsd creates a world-writable file "apcupsd.pid" under /var/run/ at startup, which is used by the daemon's scripts to stop the apcupsd process during a restart or shutdown. A local attacker can overwrite the apcupsd.pid file with an arbitrary process ID to cause the system to crash, during restart or shutdown.
Platforms Affected:
- APC, Apcupsd 3.7.2
Remedy:
Upgrade to the latest version of apcupsd (3.8.0 or later), available from the APC UPS Daemon Web site. See References.
For Linux-Mandrake 7.2:
Upgrade to the latest version of apcupsd (3.8.0-1 or later), as listed in MandrakeSoft Security Advisory MDKSA-2000:077 : apcupsd. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Denial of Service
References:
- APC UPS Daemon, Apcupsd UPS daemon version 3.8.0 at http://www.sibbald.com/apcupsd/.
- BugTraq Mailing List, Wed Dec 06 2000 - 12:07:11 CST, apcupsd 3.7.2 Denial of Service at http://archives.neohapsis.com/archives/bugtraq/2000-12/0066.html.
- MandrakeSoft Security Advisory MDKSA-2000:077, apcupsd at http://wwwnew.mandriva.com/security/advisories?name=MDKSA-2000:077.
- BID-2070: APC apcupsd Local Denial of Service Vulnerability
- CVE-2001-0040: APC UPS daemon, apcupsd, saves its process ID in a world-writable file, which allows local users to kill an arbitrary process by specifying the target process ID in the apcupsd.pid file.
Reported:
Dec 06, 2000
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
