Net-SNMP: Insecure RPATH — GLSA 200509-05

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

Affected Packages

net-analyzer/net-snmp on all architectures
Affected versions < 5.2.1.2-r1
Unaffected versions >= 5.2.1.2-r1

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.

Workaround

Limit group portage access to trusted users.

Resolution

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

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

References

Release Date
September 06, 2005

Latest Revision
May 22, 2006: 02

Severity
normal

Exploitable
local

Bugzilla entries