Gentoo Logo

pinentry: Local privilege escalation

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200601-01 / pinentry
Release Date January 03, 2006
Latest Revision January 03, 2006: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-crypt/pinentry < 0.7.2-r2 >= 0.7.2-r2 All supported architectures

Related bugreports: #116822

Synopsis

pinentry is vulnerable to privilege escalation.

2.  Impact Information

Background

pinentry is a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol.

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team has discovered that the pinentry ebuild incorrectly sets the permissions of the pinentry binaries upon installation, so that the sgid bit is set making them execute with the privileges of group ID 0.

Impact

A user of pinentry could potentially read and overwrite files with a group ID of 0.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All pinentry users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-crypt/pinentry-0.7.2-r2"

4.  References



Print

Page updated January 03, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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