Skip to content

Insecure Permissions in Phusion Passenger

High severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jun 28, 2023

Package

bundler passenger (RubyGems)

Affected versions

>= 5.3.0, < 5.3.2

Patched versions

5.3.2

Description

An Insecure Permissions vulnerability in SpawningKit in Phusion Passenger 5.3.x before 5.3.2 causes information disclosure in the following situation: given a Passenger-spawned application process that reports that it listens on a certain Unix domain socket, if any of the parent directories of said socket are writable by a normal user that is not the application's user, then that non-application user can swap that directory with something else, resulting in traffic being redirected to a non-application user's process through an alternative Unix domain socket.

References

Published by the National Vulnerability Database Jun 17, 2018
Published to the GitHub Advisory Database May 13, 2022
Reviewed Jun 9, 2023
Last updated Jun 28, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-12027

GHSA ID

GHSA-whfx-877c-5p28

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.