CVE-2017-16355
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-16355
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-16355.html
Vendor advisory: cve@mitre.org — https://github.com/phusion/passenger/commit/4043718264095cde6623c2cbe8c644541036d7bf
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 9.0 | affected | |
| debian | bookworm | fixed | 5.0.30-1.1 |
| debian | bullseye | fixed | 5.0.30-1.1 |
| debian | forky | fixed | 5.0.30-1.1 |
| debian | sid | fixed | 5.0.30-1.1 |
| debian | trixie | fixed | 5.0.30-1.1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| phusion | passenger | {"startIncluding":"5.0.10","endExcluding":"5.1.10"} | 5.1.10 |
References
- https://github.com/phusion/passenger/commit/4043718264095cde6623c2cbe8c644541036d7bf
- https://blog.phusion.nl/2017/10/13/passenger-security-advisory-5-1-11/
- https://seclists.org/bugtraq/2019/Mar/34
- https://www.debian.org/security/2019/dsa-4415
- https://www.suse.com/security/cve/CVE-2017-16355.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-16355
- https://blog.phusion.nl/2017/10/13/passenger-security-advisory-5-1-11
- https://github.com/phusion/passenger
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2017-16355.yml
- https://security-tracker.debian.org/tracker/CVE-2017-16355
CWEs
CWE-200
Verify integrity in audit chain (admin only). AS-IS.