Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
RubyGemspassenger
- Affected versions
- < 5.1.11
- Fixed version
- 5.1.11
Exploitation
Description
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.
Links
- https://blog.phusion.nl/2017/10/13/passenger-security-advisory-5-1-11
- https://blog.phusion.nl/2017/10/13/passenger-security-advisory-5-1-11/
- https://github.com/advisories/GHSA-cv3f-px9r-54hm
- https://github.com/phusion/passenger
- https://github.com/phusion/passenger/commit/4043718264095cde6623c2cbe8c644541036d7bf
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2017-16355.yml
- https://nvd.nist.gov/vuln/detail/CVE-2017-16355
- https://seclists.org/bugtraq/2019/Mar/34
- https://www.debian.org/security/2019/dsa-4415
Credits
- jhutchings1

