Vulnerability Name:

CVE-2004-0435 (CCN-16254)

Assigned:2004-05-26
Published:2004-05-26
Updated:2017-07-11
Summary:Certain "programming errors" in the msync system call for FreeBSD 5.2.1 and earlier, and 4.10 and earlier, do not properly handle the MS_INVALIDATE operation, which leads to cache consistency problems that allow a local user to prevent certain changes to files from being committed to disk.
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:N/I:L/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): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:3.6 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): Partial
2.1 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Privileges
References:Source: CCN
Type: The FreeBSD Project Security Advisory FreeBSD-SA-04:11.msync
buffer cache invalidation implementation issues

Source: FREEBSD
Type: UNKNOWN
FreeBSD-SA-04:11

Source: MITRE
Type: CNA
CVE-2004-0435

Source: CCN
Type: SA11714
FreeBSD "msync()" MS_INVALIDATE Implementation Security Issue

Source: SECUNIA
Type: UNKNOWN
11714

Source: CCN
Type: OSVDB ID: 6425
FreeBSD msync MS_INVALIDATE File Write Restriction

Source: BID
Type: UNKNOWN
10416

Source: CCN
Type: BID-10416
FreeBSD Msync(2) System Call Buffer Cache Implementation Vulnerability

Source: XF
Type: UNKNOWN
freebsd-msync-gain-privileges(16254)

Source: XF
Type: UNKNOWN
freebsd-msync-gain-privileges(16254)

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:4.0:releng:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.8:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.8:pre-release:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.8:release_p6:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.8:releng:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.9:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.9:pre-release:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.9:releng:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.10:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.10:release:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.10:releng:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:5.2:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:5.2.1:release:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:5.2.1:releng:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:4.8:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.9:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:5.2.1:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:4.10:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    freebsd freebsd 4.0 releng
    freebsd freebsd 4.8
    freebsd freebsd 4.8 pre-release
    freebsd freebsd 4.8 release_p6
    freebsd freebsd 4.8 releng
    freebsd freebsd 4.9
    freebsd freebsd 4.9 pre-release
    freebsd freebsd 4.9 releng
    freebsd freebsd 4.10
    freebsd freebsd 4.10 release
    freebsd freebsd 4.10 releng
    freebsd freebsd 5.2
    freebsd freebsd 5.2.1 release
    freebsd freebsd 5.2.1 releng
    freebsd freebsd 4.8
    freebsd freebsd 4.9
    freebsd freebsd 5.2.1
    freebsd freebsd 4.10