CWE
362
Advisory Published
Updated

CVE-2018-12029: Race Condition

First published: Sun Jun 17 2018(Updated: )

A race condition in the nginx module in Phusion Passenger 3.x through 5.x before 5.3.2 allows local escalation of privileges when a non-standard passenger_instance_registry_dir with insufficiently strict permissions is configured. Replacing a file with a symlink after the file was created, but before it was chowned, leads to the target of the link being chowned via the path. Targeting sensitive files such as root's crontab file allows privilege escalation.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/passenger
5.0.30-1.1
5.0.30-1.2+deb11u1
6.0.17+ds-1
Phusion Passenger>=3.0.0<5.3.2
Debian Debian Linux=8.0

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 CVE-2018-12029?

    CVE-2018-12029 is a vulnerability in the nginx module in Phusion Passenger, which allows local escalation of privileges when a non-standard passenger_instance_registry_dir with insufficiently strict permissions is configured.

  • How severe is CVE-2018-12029?

    CVE-2018-12029 has a severity score of 7 (high).

  • Which software versions are affected by CVE-2018-12029?

    Phusion Passenger versions 3.x through 5.x before 5.3.2 are affected by CVE-2018-12029.

  • How can I fix CVE-2018-12029?

    To fix CVE-2018-12029, you should update Phusion Passenger to version 5.3.2 or later.

  • Where can I find more information about CVE-2018-12029?

    You can find more information about CVE-2018-12029 at the following references: [1](https://blog.phusion.nl/passenger-5-3-2), [2](https://lists.debian.org/debian-lts-announce/2018/06/msg00007.html), [3](https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-esc)

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