OpenAFS: Privilege escalation — GLSA 200704-03

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

Affected packages

net-fs/openafs on all architectures
Affected versions < 1.4.4
Unaffected versions >= 1.4.4

Background

OpenAFS is a distributed network filesystem.

Description

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.

Impact

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.

Workaround

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

Resolution

All OpenAFS users should upgrade to the latest version:

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

References

Release date
April 03, 2007

Latest revision
April 03, 2007: 01

Severity
high

Exploitable
remote

Bugzilla entries