Gentoo Logo

Net-SNMP: Insecure RPATH

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200509-05 / net-snmp
Release Date September 06, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
net-analyzer/net-snmp < 5.2.1.2-r1 >= 5.2.1.2-r1 All supported architectures

Related bugreports: #103776

Synopsis

The Gentoo Net-SNMP package may provide Perl modules containing an insecure DT_RPATH, potentially allowing privilege escalation.

2.  Impact Information

Background

Net-SNMP is a suite of applications used to implement the Simple Network Management Protocol.

Description

James Cloos reported that Perl modules from the Net-SNMP package look for libraries in an untrusted location. This is due to a flaw in the Gentoo package, and not the Net-SNMP suite.

Impact

A local attacker (member of the portage group) may be able to create a shared object that would be loaded by the Net-SNMP Perl modules, executing arbitrary code with the privileges of the user invoking the Perl script.

3.  Resolution Information

Workaround

Limit group portage access to trusted users.

Resolution

All Net-SNMP users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-analyzer/net-snmp-5.2.1.2-r1"

4.  References



Print

Page updated September 06, 2005

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.