CVE-2014-1832 Insecure use of temporary files in Phusion passenger
Local attackers can overwrite critical files via symlink attacks in Phusion Passenger, potentially compromising application integrity.
- 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-2014-1832?
CVE-2014-1832 is a low-severity path traversal vulnerability in n/a, published on 19 Feb 2015. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Phusion Passenger 4.0.37 allows local users to write to certain files and directories via a symlink attack on (1) control_process.pid or a (2) generation-* file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1831.
Which versions are affected by CVE-2014-1832?
2 open source packages ship an affected version, including passenger. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
passenger RubyGems | From 4.0.37 | 4.0.38 |
passenger RubyGems | From 4.0.37 | 4.0.38 |
Products include Phusion Passenger.
How do I fix CVE-2014-1832?
Upgrade passenger to 4.0.38 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2014-1832 being exploited?
There is no known exploitation of CVE-2014-1832 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2018-12026 Phusion Passenger SpawningKit Contains Arbitrary Read/Write Vulnerability
- CVE-2018-12027 Insecure Permissions in Phusion Passenger
- CVE-2018-12028 Incorrect Access Control in Phusion Passenger
- CVE-2016-10345 Phusion Passenger uses a known /tmp filename
- CVE-2012-6135 RubyGems passenger gem allows remote attackers to delete files
Sources
Also known as GHSA-qw8w-2xcp-xg59.