CVE-2018-12615
published 2018-06-21CVE-2018-12615: 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…
PriorityP424medium5.3CVSS 3.0
AVNACLPRNUINSUCNILAN
EPSS
1.20%
64.9th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | passenger | — | — |
| phusion | passenger | < 5.3.2 | 5.3.2 |
| phusion | passenger | >= 0 < 5.3.2 | 5.3.2 |
CVSS provenance
nvdv3.05.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
vendor_debian5.3LOW
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp
vendor_redhat·2018-05-29·CVSS 5.3
CVE-2018-12615 [MEDIUM] CWE-271 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp
passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp
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.
Statement: This issue did not affect the versions of rubygem-passenger as shipped with Red Hat Update Infrastructure as they did not include the vulnerable code, which was introduced in a newer version of the package.
Package: ruby193-rubygem-passenger (Red Hat Ceph Storage 1.3) - Will not fix
Package: rubygem-passenger (Red Hat Ceph Storage 1.3) - Will not fix
Package: rubygem-passenger (Red Hat Satellite 6
Debian
CVE-2018-12615: passenger - An issue was discovered in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp ...
vendor_debian·2018·CVSS 5.3
CVE-2018-12615 [MEDIUM] CVE-2018-12615: passenger - An issue was discovered in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp ...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
OSV
Phusion Passenger incorrect permission assignment
osv·2022-05-13
CVE-2018-12615 [MEDIUM] Phusion Passenger incorrect permission assignment
Phusion Passenger incorrect permission assignment
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.
GHSA
Phusion Passenger incorrect permission assignment
ghsa·2022-05-13
CVE-2018-12615 [MEDIUM] CWE-732 Phusion Passenger incorrect permission assignment
Phusion Passenger incorrect permission assignment
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp
bugzilla·2018-06-22·CVSS 5.3
CVE-2018-12615 [MEDIUM] CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp
CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp
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) in which supplementary groups are actually being set while lowering privileges.
References:
https://github.com/phusion/passenger/commit/4e97fdb86d0a0141ec9a052c6e691fcd07bb45c8
Discussion:
Created passenger tracking bugs for this issue:
Affects: epel-7 [bug 1594419]
Affects: fedora-all [bug 1594418]
---
Statement:
This issue did not affect the versions of rubygem-passenger as shipped with Red Hat Update Infrastructure as they did not include the vulnerable code, wh
Bugzilla
CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp [epel-7]
bugzilla·2018-06-22·CVSS 5.3
CVE-2018-12615 [MEDIUM] CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp [epel-7]
CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the fol
Bugzilla
CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp [fedora-all]
bugzilla·2018-06-22·CVSS 5.3
CVE-2018-12615 [MEDIUM] CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp [fedora-all]
CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue
2018-06-21
Published