Vulnerability Name:

CVE-2010-2020 (CCN-59051)

Assigned:2010-05-27
Published:2010-05-27
Updated:2012-11-06
Summary:sys/nfsclient/nfs_vfsops.c in the NFS client in the kernel in FreeBSD 7.2 through 8.1-PRERELEASE, when vfs.usermount is enabled, does not validate the length of a certain fhsize parameter, which allows local users to gain privileges via a crafted mount request.
CVSS v3 Severity:5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.9 Medium (CVSS v2 Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C)
5.4 Medium (Temporal CVSS v2 Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C/E:POC/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
4.4 Medium (CCN CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P)
3.4 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-20
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2010-2020

Source: CCN
Type: FreeBSD-SA-10:06.nfsclient
Unvalidated input in nfsclient

Source: FREEBSD
Type: Vendor Advisory
FreeBSD-SA-10:06

Source: CCN
Type: SECTRACK ID: 1024039
FreeBSD Parameter Validation Flaw in nfsclient Lets Local Users Gain Elevated Privileges

Source: SECTRACK
Type: UNKNOWN
1024039

Source: EXPLOIT-DB
Type: UNKNOWN
14002

Source: EXPLOIT-DB
Type: UNKNOWN
14003

Source: CCN
Type: OSVDB ID: 65036
FreeBSD nfsclient nfs_vfsops.c nfs_mount() Function File Handle Buffer Mounting Local Overflow

Source: XF
Type: UNKNOWN
freebsd-nfsclient-priv-escalation(59051)

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [06-23-2010]

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:7.2:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:7.2:pre-release:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:7.2:stable:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:8.0:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:8.1-prerelease:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:7.2:pre-release:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:7.2:stable:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:8.0:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:7.2:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:8.1-prerelease:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    freebsd freebsd 7.2
    freebsd freebsd 7.2 pre-release
    freebsd freebsd 7.2 stable
    freebsd freebsd 8.0
    freebsd freebsd 8.1-prerelease
    freebsd freebsd 7.2 pre-release
    freebsd freebsd 7.2 stable
    freebsd freebsd 8.0 -
    freebsd freebsd 7.2 -
    freebsd freebsd 8.1-prerelease