Vulnerability Name:

CVE-2004-0126 (CCN-15344)

Assigned:2004-02-27
Published:2004-02-27
Updated:2017-10-10
Summary:The jail_attach system call in FreeBSD 5.1 and 5.2 changes the directory of a calling process even if the process doesn't have permission to change directory, which allows local users to gain read/write privileges to files and directories within another jail.
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:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Privileges
References:Source: FREEBSD
Type: Patch, Vendor Advisory
FreeBSD-SA-04:03

Source: CCN
Type: FreeBSD Security Advisory FreeBSD-SA-04:03.jail
Jailed processes can attach to other jails

Source: MITRE
Type: CNA
CVE-2004-0126

Source: OSVDB
Type: UNKNOWN
4101

Source: CCN
Type: OSVDB ID: 4101
FreeBSD jail_attach() Privilege Escalation

Source: BID
Type: Patch, Vendor Advisory
9762

Source: CCN
Type: BID-9762
FreeBSD Unauthorized Jailed Process Attaching Vulnerability

Source: XF
Type: UNKNOWN
freebsd-jailattach-gain-privileges(15344)

Source: XF
Type: UNKNOWN
freebsd-jailattach-gain-privileges(15344)

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:5.1:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:5.1:release:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:5.2:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:5.2.1:release:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:5.1:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:5.2:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    freebsd freebsd 5.1
    freebsd freebsd 5.1 release
    freebsd freebsd 5.2
    freebsd freebsd 5.2.1 release
    freebsd freebsd 5.1
    freebsd freebsd 5.2