Local Privilege Escalation Affecting puppet package, versions <2.6.11 >=2.7.0, <2.7.5


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-PUPPET-20303
  • published 28 Feb 2017
  • disclosed 29 Sep 2011
  • credit Puppet Labs

How to fix?

Upgrade puppet to version 2.6.11, 2.7.5 or higher.

Overview

puppet is an automated configuration management tool. Affected versions of the package are vulnerable to Symlink Attack via a user's .k5login file. The k5login type is typically used to manage a file in the home directory of a user. The purpose of this file is to allow access to other users.

The .k5login file previously wrote to the target file directly, as root, without doing anything to secure the file. If the .k5login file was replaced with a symlink, this would allow the owner of the home directory to replace any file on the system, including the .k5login file of a more privileged user, with the “correct” content of their own file.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.1 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.1 high