UBUNTU-CVE-2018-12029 (CVE-2018-12029)
Vulnerability from osv_ubuntu – Published: 2018-06-17 20:29 – Updated: 2025-09-08 16:44 – Source website
VLAI
Details
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.
Severity
7.0 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libapache2-mod-passenger",
"binary_version": "5.0.27-2ubuntu0.1~esm1"
},
{
"binary_name": "passenger",
"binary_version": "5.0.27-2ubuntu0.1~esm1"
},
{
"binary_name": "ruby-passenger",
"binary_version": "5.0.27-2ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "passenger",
"purl": "pkg:deb/ubuntu/passenger@5.0.27-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.27-2ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.0.7-3",
"5.0.22-1",
"5.0.22-1build1",
"5.0.22-1build2",
"5.0.27-2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libapache2-mod-passenger",
"binary_version": "5.0.30-1+deb9u1build0.18.04.1"
},
{
"binary_name": "passenger",
"binary_version": "5.0.30-1+deb9u1build0.18.04.1"
},
{
"binary_name": "ruby-passenger",
"binary_version": "5.0.30-1+deb9u1build0.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "passenger",
"purl": "pkg:deb/ubuntu/passenger@5.0.30-1+deb9u1build0.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.30-1+deb9u1build0.18.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.0.30-1",
"5.0.30-1build1",
"5.0.30-1build2"
]
}
],
"aliases": [],
"details": "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\u0027s crontab file allows privilege escalation.",
"id": "UBUNTU-CVE-2018-12029",
"modified": "2025-09-08T16:44:53Z",
"published": "2018-06-17T20:29:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-12029"
},
{
"type": "REPORT",
"url": "https://blog.phusion.nl/2018/06/12/passenger-5-3-2-various-security-fixes/"
},
{
"type": "REPORT",
"url": "https://blog.phusion.nl/passenger-5-3-2"
},
{
"type": "REPORT",
"url": "https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-esc"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2018-12029"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5261-1"
}
],
"related": [
"USN-5261-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2018-12029"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…