Vulnerability Name:

CVE-2018-12027 (CCN-144987)

Assigned:2018-06-13
Published:2018-06-13
Updated:2019-10-03
Summary: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.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
4.0 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
3.5 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:6.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
2.1 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-732
CWE-200
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2018-12027

Source: CCN
Type: Phusion Blog, June 12th, 2018
Passenger 5.3.2: various security fixes

Source: MISC
Type: Mitigation, Vendor Advisory
https://blog.phusion.nl/passenger-5-3-2

Source: XF
Type: UNKNOWN
phusion-cve201812027-info-disc(144987)

Source: GENTOO
Type: Third Party Advisory
GLSA-201807-02

Source: CCN
Type: Phusion Web site
Passenger - Enterprise grade web app server for Ruby, Node.js, Python

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-12027

Vulnerable Configuration:Configuration 1:
  • cpe:/a:phusion:passenger:*:*:*:*:*:*:*:* (Version >= 5.3.0 and < 5.3.2)

  • Configuration CCN 1:
  • cpe:/a:phusion:passenger:5.3.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:2018120270000000
    V
    CVE-2018-12027 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-06-17
    oval:com.ubuntu.artful:def:201812027000
    V
    CVE-2018-12027 on Ubuntu 17.10 (artful) - medium.
    2018-06-17
    oval:com.ubuntu.xenial:def:201812027000
    V
    CVE-2018-12027 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-06-17
    oval:com.ubuntu.disco:def:2018120270000000
    V
    CVE-2018-12027 on Ubuntu 19.04 (disco) - medium.
    2018-06-17
    oval:com.ubuntu.bionic:def:201812027000
    V
    CVE-2018-12027 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-06-17
    oval:com.ubuntu.cosmic:def:2018120270000000
    V
    CVE-2018-12027 on Ubuntu 18.10 (cosmic) - medium.
    2018-06-17
    oval:com.ubuntu.cosmic:def:201812027000
    V
    CVE-2018-12027 on Ubuntu 18.10 (cosmic) - medium.
    2018-06-17
    oval:com.ubuntu.bionic:def:2018120270000000
    V
    CVE-2018-12027 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-06-17
    oval:com.ubuntu.trusty:def:201812027000
    V
    CVE-2018-12027 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-06-17
    BACK
    phusion passenger *
    phusion passenger 5.3.1