CVE-2017-16355 Phusion Passenger information disclosure
An attacker can read arbitrary files on the system by exploiting a symlink vulnerability in Phusion Passenger when running as root.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-16355?
CVE-2017-16355 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 14 Dec 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2017-16355?
2 open source packages ship an affected version, including passenger. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
passenger RubyGems | All versions | 5.1.11 |
passenger RubyGems | All versions | 5.1.11 |
Products include Debian Debian Linux, Phusion Passenger.
How do I fix CVE-2017-16355?
Upgrade passenger to 5.1.11 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2017-16355 being exploited?
There is no known exploitation of CVE-2017-16355 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CVE-2017-1000384, DEBIAN-CVE-2017-16355, DSA-4415-1, GHSA-cv3f-px9r-54hm, UBUNTU-CVE-2017-16355.