CVE-2018-12615 Phusion Passenger incorrect permission assignment
Improper group initialization in Phusion Passenger allows attackers to gain unauthorized privileges due to uninitialized memory usage during privilege lowering.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-12615?
CVE-2018-12615 is a medium-severity vulnerability in n/a, published on 21 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp in Phusion Passenger before 5.3.2. The set of groups (gidset) is not set correctly, leaving it up to randomness (i.e., uninitialized memory) which supplementary groups are actually being set while lowering privileges.
Weakness: CWE-732
Which versions are affected by CVE-2018-12615?
2 open source packages ship an affected version, including passenger. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
passenger RubyGems | All versions | 5.3.2 |
passenger RubyGems | All versions | 5.3.2 |
Products include Phusion Passenger.
How do I fix CVE-2018-12615?
Upgrade passenger to 5.3.2 or later.
Is CVE-2018-12615 being exploited?
There is no known exploitation of CVE-2018-12615 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-4284-jfhc-f854.