CWE
NVD-CWE-Other
Advisory Published
CVE Published
Updated

CVE-2004-0126

First published: Mon Mar 29 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
FreeBSD Kernel=5.1
FreeBSD Kernel=5.1-release
FreeBSD Kernel=5.2
FreeBSD Kernel=5.2.1-release

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203