CVE-2004-0126: Medium severity FreeBSD FreeBSD vulnerability

Published Mar 29, 2004
·
Updated

The jailattach 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.

Affected Software

4 affected components
FreeBSD FreeBSD=5.1
FreeBSD FreeBSD=5.1-release
FreeBSD FreeBSD=5.2
FreeBSD FreeBSD=5.2.1-release

Event History

Mar 29, 2004
CVE Published
05:00 AM
Sep 1, 2004
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2004-0126?

CVE-2004-0126 is classified as a high-severity vulnerability due to its potential to allow unauthorized access to files and directories within a FreeBSD jail.

2

How do I fix CVE-2004-0126?

To fix CVE-2004-0126, update your FreeBSD installation to a version later than 5.2.1 that contains the relevant security patches.

3

Who is affected by CVE-2004-0126?

CVE-2004-0126 affects local users on FreeBSD versions 5.1 and 5.2, allowing them to exploit the jail_attach system call.

4

What are the consequences of CVE-2004-0126?

The consequences of CVE-2004-0126 include the possibility for local users to gain elevated read/write privileges within another jail.

5

What systems are vulnerable to CVE-2004-0126?

FreeBSD 5.1 and 5.2, including their release versions, are vulnerable to CVE-2004-0126.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203