Note: This is an archival copy of Security Sun Alert 248646 as previously published on
Latest version of this security advisory is available from as Sun Alert 1019907.1.
Article ID : 1019907.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2008-12-23
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Insecure Temporary File Usage Vulnerability in Sun SNMP Management Agent


Release Phase

Bug Id

Sun SNMP Management Agent

Date of Resolved Release

Insecure Temporary File Usage Vulnerability in Sun SNMP Management Agent

1. Impact

An insecure temporary file vulnerability in the Sun Simple Network Management Protocol (SNMP) Management Agent may allow a local unprivileged user to overwrite any system file or gain root privileges.

Sun Acknowledges with thanks Matthew Flanagan of Singtel Optus Pty Ltd for for bringing this issue to our attention.

2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform
  • Sun SNMP Management Agent "SUNWmasf" 1.4u2 thru 1.5.4 (For Solaris 8, 9 and 10)
Note: The System Management Agent (SMA) SNMP daemon (snmpd(1M)) that ships with Solaris 10 or later is not affected.

To determine the version of "SUNWmasf" on a system, the following command can be run:
$ pkginfo -l SUNWmasf | grep VERSION
VERSION: 1.6,REV=2008.11.17

3. Symptoms

There are no predictable symptoms that would indicate the described issue has been exploited.

4. Workaround

There is no workaround for this issue.  Please see the Resolution section below.

5. Resolution

This issue is addressed in the following release:

SPARC Platform
  • Sun SNMP Management Agent ("SUNWmasf") 1.5.5 or later (For Solaris 8, 9 and 10)
Sun SNMP Management Agent is available for download at

For more information
on Security Sun Alerts, see 1009886.1.

This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.

This solution has no attachment