CVE-2004-0126

Current Description

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.

Basic Data

PublishedMarch 29, 2004
Last ModifiedOctober 10, 2017
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeNVD-CWE-Other
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:L/AC:L/Au:N/C:P/I:P/A:P
CVSS 2 - Access VectorLOCAL
CVSS 2 - Access ComplexityLOW
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactPARTIAL
CVSS 2 - Availability ImpactPARTIAL
CVSS 2 - Base Score4.6
SeverityMEDIUM
Exploitability Score3.9
Impact Score6.4
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegetrue

Base Metric V3

No data provided.

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3OSFreebsdFreebsd5.1*******
    2.3OSFreebsdFreebsd5.1release******
    2.3OSFreebsdFreebsd5.2*******
    2.3OSFreebsdFreebsd5.2.1release******

Vulnerable Software List

VendorProductVersions
Freebsd Freebsd 5.1, 5.2, 5.2.1

References

NameSourceURLTags
FreeBSD-SA-04:03ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:03.jail.ascFREEBSDPATCH Vendor Advisory
4101http://www.osvdb.org/4101OSVDB
9762http://www.securityfocus.com/bid/9762BIDPATCH Vendor Advisory
freebsd-jailattach-gain-privileges(15344)https://exchange.xforce.ibmcloud.com/vulnerabilities/15344XF