vendor:
Uninterruptable Power Supplies
by:
SecurityFocus
7.5
CVSS
HIGH
Symlink Attack
59
CWE
Product Name: Uninterruptable Power Supplies
Affected Version From: Debian GNU/Linux 2.1
Affected Version To: Debian GNU/Linux 2.1
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Linux
2002
APCD Vulnerability
A vulnerability exists in the apcd package, as shipped in Debian GNU/Linux 2.1. By sending the apcd process a SIGUSR1, a file will be created in /tmp called upsstat. This file contains information about the status of the APC device. This file is not opened securely, however, and it is possible for an attacker to create a symlink with this name to another place on the file system. This could, in turn, lead to a compromise of the root account.
Mitigation:
Ensure that the apcd process is not exposed to untrusted users and that the /tmp directory is not writable by untrusted users.