SecurityContext

CVE-2018-12615: Phusion Passenger - Privilege Escalation

  • Cve: CVE-2018-12615
  • Name: Phusion Passenger - Privilege Escalation
  • 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.
  • Impact: Attackers can escalate privileges by manipulating group settings, potentially leading to unauthorized access or control.
  • Remediation: Update to version 5.3.2 or later.
  • Vulnerability type: privilege_escalation
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs local access with privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.01179
  • Epss percentile: 0.68477
  • Assignee: [email protected]
  • Published at: 2018-06-21T15:29:00Z
  • Age in days: 3078
  • Modified at: 2026-06-17T01:38:04Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-12615
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-732Incorrect Permission Assignment for Critical Resource

References

UrlSourceTags
https://github.com/phusion/passenger/commit/4e97fdb86d0a0141ec9a052c6e691fcd07bb45c8nvdPatch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
phusion:passenger< 5.3.2nonvd/v1/products/phusion/passenger

Projects

RepositoryLink kindsIndexedUrl
phusion/passengercommit, fix, packageyes/v1/repositories/phusion/passenger

Index

  • Repositories: 1
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts