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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2017-16355 from the MITRE CVE dictionary dictionary and NIST NVD.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 4.7 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Attack Vector | Local |
Attack Complexity | High |
Privileges Required | Low |
User Interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity Impact | None |
Availability Impact | None |
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | rh-passenger40-passenger | Will not fix |
Red Hat Satellite 6 | ruby193-rubygem-passeger | Not affected |
Red Hat Satellite 6 | rubygem-passenger | Not affected |
Red Hat Ceph Storage 1.3 | rubygem-passenger | Will not fix |
Red Hat Ceph Storage 1.3 | ruby193-rubygem-passenger | Will not fix |