Net-SNMP: fixproc insecure temporary file creation
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200505-18 / net-snmp |
| Release Date |
May 23, 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-r1 |
>=
5.2.1-r1 |
All supported architectures
|
Related bugreports:
#91792
Synopsis
Net-SNMP creates temporary files in an insecure manner, possibly allowing
the execution of arbitrary code.
2.
Impact Information
Background
Net-SNMP is a suite of applications used to implement the Simple
Network Management Protocol.
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All Net-SNMP users should upgrade to the latest available version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-analyzer/net-snmp-5.2.1-r1"
|
4.
References
|