UNIX symbolic link following in Phusion Passenger - CVE-2017-16355

 

UNIX symbolic link following in Phusion Passenger - CVE-2017-16355

Published: March 25, 2019


Vulnerability identifier: #VU18066
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2017-16355
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Phusion B.V.
Affected software:
Phusion Passenger

Detailed vulnerability description

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to a symlink following issue within the agent/Core/SpawningKit/Spawner.h file. A local user can create a specially crafted symbolic link from the REVISION file to an arbitrary file on the system and view contest of arbitrary file through "passenger-status --show=xml" command.



How to mitigate CVE-2017-16355

Install updates from vendor's website.

Sources