GLSA Advocate

Joined: 12 May 2004 Posts: 2663
|
Posted: Mon May 23, 2005 8:53 pm Post subject: [ GLSA 200505-18 ] Net-SNMP: fixproc insecure temporary file |
|
|
Gentoo Linux Security Advisory
Title: Net-SNMP: fixproc insecure temporary file creation (GLSA 200505-18)
Severity: normal
Exploitable: local
Date: May 23, 2005
Updated: May 22, 2006
Bug(s): #91792
ID: 200505-18
Synopsis
Net-SNMP creates temporary files in an insecure manner, possibly allowing the execution of arbitrary code.
Background
Net-SNMP is a suite of applications used to implement the Simple Network Management Protocol.
Affected Packages
Package: net-analyzer/net-snmp
Vulnerable: < 5.2.1-r1
Unaffected: >= 5.2.1-r1
Architectures: All supported architectures
Description
The fixproc application of Net-SNMP creates temporary files with predictable filenames.
Impact
A malicious local attacker could exploit a race condition to change the content of the temporary files before they are executed by fixproc, possibly leading to the execution of arbitrary code. A local attacker could also create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When fixproc is executed, this would result in the file being overwritten.
Workaround
There is no known workaround at this time.
Resolution
All Net-SNMP users should upgrade to the latest available version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=net-analyzer/net-snmp-5.2.1-r1" |
References
CVE-2005-1740
Last edited by GLSA on Sun Oct 05, 2008 4:17 am; edited 8 times in total |
|