SUSE LINUX's permissions package contains a flaw that may lead to an unauthorized access control bypass. The issue is triggered when a malicious user creates a hardlink in certain world-writable directories before chkstat is run. chkstat will then set the target file with the permissions intended for the original file, resulting in a loss of confidentiality.
Classification
Location:
Local Access Required
Attack Type:
Information Disclosure
Impact:
Loss of Confidentiality
Exploit:
Exploit Available
Disclosure:
OSVDB Verified
Technical
With the default settings, the attacker should only be able to make files world readable. If an administrator has edited /etc/permissions.easy, then it may be possible to make arbitrary files world writable as well.
Solution
SUSE has released a patch to address this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s): Switch to the permission level 'secure' or 'paranoid' before any potentially malicious users can log in. Only the 'easy' level is vulnerable.