Gentoo Logo

OpenAFS: Privilege escalation


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200704-03 / openafs
Release Date April 03, 2007
Latest Revision April 03, 2007: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-fs/openafs < 1.4.4 >= 1.4.4 All supported architectures

Related bugreports: #171662


OpenAFS is subject to a design flaw that could allow privilege escalation on the client.

2.  Impact Information


OpenAFS is a distributed network filesystem.


Benjamin Bennett discovered that the OpenAFS client contains a design flaw where cache managers do not use authenticated server connections when performing actions not requested by a user.


If setuid is enabled on the client cells, an attacker can supply a fake FetchStatus reply that sets setuid and root ownership of a file being executed. This could provide root access on the client. Remote attacks may be possible if an attacker can entice a user to execute a known file. Note that setuid is enabled by default in versions of OpenAFS prior to 1.4.4.

3.  Resolution Information


Disable the setuid functionality on all client cells. This is now the default configuration in OpenAFS.


All OpenAFS users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-fs/openafs-1.4.4"

4.  References


Page updated April 03, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.