CVE-2014-1831 Insecure use of temporary files in passenger
Local attackers can overwrite critical Passenger files via symlink attacks, 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-1831?
CVE-2014-1831 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 before 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.
Which versions are affected by CVE-2014-1831?
2 open source packages ship an affected version, including passenger. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
passenger RubyGems | All versions | 4.0.38 |
passenger RubyGems | All versions | 4.0.38 |
Products include Phusion Passenger.
How do I fix CVE-2014-1831?
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-1831 being exploited?
There is no known exploitation of CVE-2014-1831 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 DEBIAN-CVE-2014-1831, GHSA-c7j7-p5jq-26ff.