#VU13990 Race condition in Phusion Passenger - CVE-2018-12029 

 

#VU13990 Race condition in Phusion Passenger - CVE-2018-12029

Published: July 24, 2018


Vulnerability identifier: #VU13990
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-12029
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
Phusion Passenger
Software vendor:
Phusion B.V.

Description

The vulnerability allows a local attacker to gain elevated privileges.

The vulnerability exists due to a race condition that could occur when a non-standard passenger_instance_registry_dir setting  n the Nginx moduleis configured with insufficient permissions. A local attacker can replace a file with a symbolic link after the file has been created before the file has changed ownershipto gain elevated privileges on the system if the target of the symbolic link is a file that can be executed as root, such as the crontab file.


Remediation

Update to version 5.3.2.

External links