Note: This is an archival copy of Security Sun Alert 253588 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1020173.1.
Article ID : 1020173.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2009-03-29
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Security Vulnerability in the Solaris NFS Server Security Modes (nfssec(5)) may Lead to Unauthorized Access to Shared Resources



Category
Security

Release Phase
Resolved

Bug Id
6359212

Product
Solaris 10 Operating System
OpenSolaris

Date of Resolved Release
09-Mar-2009

Security vulnerability in the Solaris NFS server security modes (nfssec(5)) may lead to unauthorized access to shared resources:

1. Impact

A security vulnerability in the Solaris NFS server may lead to unauthorized access to file systems shared via NFS if those resources are shared using a combination of "none" (AUTH_NONE) and "sys" (AUTH_SYS) (see nfssec(5)) security modes.

2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform
  • Solaris 10 without patch 139462-02
  • OpenSolaris based upon builds snv_01 through snv_110
x86 Platform
  • Solaris 10 without patch 139463-02
  • OpenSolaris based upon builds snv_01 through snv_110
Note 1: Solaris 8 and Solaris 9 are not impacted by this issue.

Note 2: Only NFS servers which export shares with AUTH_NONE used in combination with the security mode AUTH_SYS are impacted by this issue. To determine if a system is configured to run as an NFS server (see smf(5)), the following command  can be used:
    $ svcs nfs/server
STATE      STIME        FMRI
online     14:30:59     svc:/network/nfs/server:default
To determine if a system exports shares that have AUTH_NONE used in combination with AUTH_SYS, run the following command on the server (see share_nfs(1M)):
    $ share
- /var/tmp sec=sys,rw=authorized-host,sec=none,ro
If the output of the share(1M) command includes NFS shares with "sec=sys" and "sec=none", then the NFS server shares resources with AUTH_NONE used in combination with the security mode AUTH_SYS.

Note 3: OpenSolaris distributions may include additional bug fixes above and beyond the build from which it was derived.  To determine the base build of OpenSolaris, the following command can be used:
    $ uname -v
snv_86
3. Symptoms

There are no predictable symptoms that would indicate the described vulnerability has been exploited to gain unauthorized access to exported data.

4. Workaround

To avoid this issue until patches can be applied, do not export NFS shares on the NFS server using AUTH_NONE and AUTH_SYS in combination.

5. Resolution

This issue is addressed in the following releases:

SPARC Platform
  • Solaris 10 with patch 139462-02 or later
  • OpenSolaris based upon builds snv_111 or later
x86 Platform
  • Solaris 10 with patch 139463-02 or later
  • OpenSolaris based upon builds snv_111 or later
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 Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

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


References

139462-02
139463-02





Attachments
This solution has no attachment