CVE-2018-12029
Published: 17 June 2018
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.
Priority
Status
Package | Release | Status |
---|---|---|
passenger Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(5.0.30-1+deb9u1build0.18.04.1)
|
|
cosmic |
Released
(5.0.30-1+deb9u1build0.18.10.1)
|
|
disco |
Released
(5.0.30-1+deb9u1build0.19.04.1)
|
|
eoan |
Not vulnerable
(5.0.30-1.1)
|
|
focal |
Not vulnerable
(5.0.30-1.1)
|
|
groovy |
Not vulnerable
(5.0.30-1.1)
|
|
hirsute |
Not vulnerable
(5.0.30-1.1)
|
|
impish |
Not vulnerable
(5.0.30-1.1)
|
|
jammy |
Not vulnerable
(5.0.30-1.1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0.30-1.1)
|
|
xenial |
Released
(5.0.27-2ubuntu0.1~esm1)
Available with Ubuntu Pro |
|
Patches: upstream: https://github.com/phusion/passenger/commit/207870f5b7f5cc240587ab0977d6046782ae1d86 |
||
ruby-passenger Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
eoan |
Does not exist
|
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
(trusty was needs-triage)
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.0 |
Attack vector | Local |
Attack complexity | High |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |