CVE & CISA-KEV Catalog

CVE-2018-12029

HIGH
7.0
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
passengerDebian
Fixed in:5.0.30-1.1CVE-2018-12029
Fixed in:5.0.30-1.1CVE-2018-12029
Fixed in:5.0.30-1.1CVE-2018-12029
Fixed in:5.0.30-1.1CVE-2018-12029
libapache2-mod-passengerUbuntu
Fixed in:5.0.27-2ubuntu0.1~esm1USN-5261-1
passengerUbuntu
Fixed in:5.0.27-2ubuntu0.1~esm1USN-5261-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.28%probability of exploitation in 30 days
19thpercentile

Low risk: more likely to be exploited than 19% of all known CVEs.

References

Related Vulnerabilities

Other CWE-362 (Race Condition) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-6387High8.1100%-Fix
CVE-2023-36884High7.599%KEV + RansomFix
CVE-2018-15473Medium5.399%-Fix
CVE-2024-27983High8.287%-Fix
CVE-2014-0226Medium6.886%-Fix
CVE-2016-5195High7.084%KEVFix
Embed a live status badge for CVE-2018-12029
CVE-2018-12029 severity badge

Markdown

[![CVE-2018-12029](https://tridentstack.com/cve/badge/CVE-2018-12029.svg)](https://tridentstack.com/cve/CVE-2018-12029)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-12029"><img src="https://tridentstack.com/cve/badge/CVE-2018-12029.svg" alt="CVE-2018-12029"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.