MEDIUM4.7
GHSA-cv3f-px9r-54hm
Phusion Passenger information disclosure
Quick fix
GHSA-cv3f-px9r-54hm — passenger: upgrade to the fixed version with the command below.
bundle update passengerDetails
In agent/Core/SpawningKit/Spawner.h in Phusion Passenger 5.1.10 (fixed in Passenger Open Source 5.1.11 and Passenger Enterprise 5.1.10), if Passenger is running as root, it is possible to list the contents of arbitrary files on a system by symlinking a file named REVISION from the application root folder to a file of choice and querying passenger-status --show=xml.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16355[ADVISORY]
- https://github.com/phusion/passenger/commit/4043718264095cde6623c2cbe8c644541036d7bf[WEB]
- https://blog.phusion.nl/2017/10/13/passenger-security-advisory-5-1-11[WEB]
- https://github.com/phusion/passenger[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2017-16355.yml[WEB]
- https://seclists.org/bugtraq/2019/Mar/34[WEB]
- https://www.debian.org/security/2019/dsa-4415[WEB]