Vulnerability Name:

CVE-2008-0777 (CCN-40524)

Assigned:2008-02-14
Published:2008-02-14
Updated:2008-09-05
Summary:The sendfile system call in FreeBSD 5.5 through 7.0 does not check the access flags of the file descriptor used for sending a file, which allows local users to read the contents of write-only files.
CVSS v3 Severity:4.0 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
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): None
Availibility (A): None
CVSS v2 Severity:4.9 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:N/A:N)
3.7 Low (Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:N/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): None
Availibility (A): None
2.1 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N)
1.6 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-264
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2008-0777

Source: CCN
Type: SA28928
FreeBSD "sendfile" Information Disclosure Security Issue

Source: SECUNIA
Type: Vendor Advisory
28928

Source: CCN
Type: FreeBSD-SA-08:03.sendfile
sendfile(2) write-only file permission bypasss

Source: FREEBSD
Type: Patch
FreeBSD-SA-08:03

Source: CCN
Type: SECTRACK ID: 1019416
FreeBSD sendfile() Discloses Write-only File Contents to Local Users

Source: SECTRACK
Type: UNKNOWN
1019416

Source: CCN
Type: OSVDB ID: 41537
FreeBSD sendfile(2) System Call File Descriptor Permission Weakness Information Disclosure

Source: BID
Type: Exploit, Patch
27789

Source: CCN
Type: BID-27789
FreeBSD 'sendfile(2)' Write-Only File Permission Security Bypass Vulnerability

Source: XF
Type: UNKNOWN
freebsd-sendfile-information-disclosure(40524)

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:5.5:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:6.2:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:6.3:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:7.0:-:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:5.5:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:6.1:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:6.2:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:6.3:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:7.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    freebsd freebsd 5.5
    freebsd freebsd 6.2
    freebsd freebsd 6.3
    freebsd freebsd 7.0
    freebsd freebsd 5.5 -
    freebsd freebsd 6.1 -
    freebsd freebsd 6.2 -
    freebsd freebsd 6.3 -
    freebsd freebsd 7.0 -