cve/2018/CVE-2018-12029.md

19 lines
1017 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-12029](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12029)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-esc
2024-06-09 00:33:16 +00:00
- https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-esc
2024-05-26 14:27:05 +02:00
#### Github
No PoCs found on GitHub currently.