Bug 56389 - Symlink attack possible
Summary: Symlink attack possible
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apmd
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-16 18:04 UTC by Enrico Scholz
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-01-24 22:57:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2001-11-16 18:04:18 UTC
/etc/sysconfig/apm-scripts/apmscript contains the line

| touch /tmp/LOW_POWER

An attacker can create a link to files which will be created/touched at low
battery power. Typical case is a link to /etc/nologin which will disable
remote logins.

apmd should use a secure place (e.g. /var/run/apmd/) for such files.

Comment 1 Enrico Scholz 2001-11-29 15:13:08 UTC
Happens in official RH7.2 also; changing "Product" field

Comment 2 Bernhard Rosenkraenzer 2002-02-26 17:35:15 UTC
Fixed in 3.0.2-6


Note You need to log in before you can comment on or make changes to this bug.