Back

HIGH

passenger: CHMOD race condition in nginx_module/ngx_http_passenger_module.c allows for local privilege escalation

Published Jun 17, 2018

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.

Affected products

Remediation

No remediation recorded yet.

Weaknesses (1)

References (12)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jun 17, 2018
Updated Aug 5, 2024
Reserved Jun 7, 2018
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Jun 5, 2018
ENISA EUVD
Assigner mitre
Published Jun 17, 2018
Updated Aug 5, 2024
Exploited since n/a
EUVD-2022-4382 GHSA-JJCJ-FGFM-9G9R