GLSA 200408-16: glibc: Information leak with LD_DEBUG

Severity:low
Title:glibc: Information leak with LD_DEBUG
Date:08/16/2004
Bugs: #59526
ID:200408-16

Synopsis

glibc contains an information leak vulnerability allowing the debugging of SUID binaries.

Background

The GNU C library defines various Unix-like "system calls" and other basic facilities needed for a standard POSIX-like application to operate.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-libs/glibc <= 2.3.2-r10 >= 2.3.2-r11 alpha, arm, hppa, ia64, sparc, s390
sys-libs/glibc <= 2.3.3.20040420 >= 2.3.3.20040420-r1 x86, ppc
sys-libs/glibc <= 2.3.3.20040420 >= 2.3.4.20040619-r1 mips
sys-libs/glibc <= 2.3.4.20040619 >= 2.3.4.20040619-r1 amd64
sys-libs/glibc <= 2.3.4.20040605 >= 2.3.4.20040808 ppc64

Description

Silvio Cesare discovered a potential information leak in glibc. It allows LD_DEBUG on SUID binaries where it should not be allowed. This has various security implications, which may be used to gain confidentional information.

Impact

An attacker can gain the list of symbols a SUID application uses and their locations and can then use a trojaned library taking precendence over those symbols to gain information or perform further exploitation.

Workaround

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version of glibc.

Resolution

All glibc users should upgrade to the latest version:

    # emerge sync
    
    # emerge -pv your_version
    # emerge your_version

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200408-16.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!