Skip to content

Puppet Arbitrary Command Execution

Moderate severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Feb 6, 2024

Package

bundler puppet (RubyGems)

Affected versions

>= 2.6.0, < 2.6.15
>= 2.7.0, < 2.7.13

Patched versions

2.6.15
2.7.13

Description

Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.

References

Published by the National Vulnerability Database May 29, 2012
Published to the GitHub Advisory Database May 14, 2022
Reviewed Jan 12, 2024
Last updated Feb 6, 2024

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(65th percentile)

Weaknesses

Improper Neutralization of Special Elements used in a Command ('Command Injection')

The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Learn more on MITRE.

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. Learn more on MITRE.

CVE ID

CVE-2012-1988

GHSA ID

GHSA-6xxq-j39w-g3f6

Source code

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