Puppet Enterprise < 2019.8.7 / 2021.x < 2021.2 SQLi

high Nessus Plugin ID 184158

Synopsis

An instance of Puppet Enterprise installed on the remote system is affected by a sql injection vulnerability.

Description

A flaw was discovered in Puppet DB, this flaw results in an escalation of privileges which allows a user with read access to PuppetDB to delete tables via an SQL query.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Puppet Enterprise version 2019.8.7, 2021.2 or later.

See Also

https://www.puppet.com/security/cve/cve-2021-27021-sql-injection

Plugin Details

Severity: High

ID: 184158

File Name: puppet_enterprise_CVE-2021-27021.nasl

Version: 1.1

Type: local

Agent: unix

Family: Misc.

Published: 11/1/2023

Updated: 11/2/2023

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2021-27021

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:puppetlabs:puppet_enterprise

Required KB Items: installed_sw/puppet_enterprise_console

Exploit Ease: No known exploits are available

Patch Publication Date: 6/24/2021

Vulnerability Publication Date: 6/24/2021

Reference Information

CVE: CVE-2021-27021