Arbitrary File Write

Affecting passenger gem, versions <5.3.2

Overview

passenger is a modern web server and application server for Ruby, Python and Node.js, optimized for performance, low memory usage and ease of use.

Affected versions of this package are vulnerable to Arbitrary File Write. During the spawning of a malicious Passenger-managed application, SpawningKit allows such applications to replace key files or directories in the spawning communication directory with symlinks. This then could result in arbitrary reads and writes, which in turn can result in information disclosure and privilege escalation.

Remediation

Upgrade passenger to version 5.3.2 or higher.

References

Do your applications use this vulnerable package?

CVSS Score

9.8
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Credit
Unknown
CVE
CVE-2018-12026
CWE
CWE-626
Snyk ID
SNYK-RUBY-PASSENGER-22033
Disclosed
12 Jun, 2018
Published
20 Jun, 2018