FreeBSD : puppetserver and puppetdb -- Puppet Server and PuppetDB may leak sensitive information via metrics API (36def7ba-6d2b-11ea-b115-643150d3111d)

high Nessus Plugin ID 134843

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Puppetlabs reports :

Puppet Server and PuppetDB provide useful performance and debugging information via their metrics API endpoints. For PuppetDB this may contain things like hostnames. Puppet Server reports resource names and titles for defined types (which may contain sensitive information) as well as function names and class names. Previously, these endpoints were open to the local network.

PE 2018.1.13 & 2019.4.0, Puppet Server 6.9.1 & 5.3.12, and PuppetDB 6.9.1 & 5.2.13 disable trapperkeeper-metrics /v1 metrics API and only allows /v2 access on localhost by default.

Solution

Update the affected packages.

See Also

https://puppet.com/security/cve/CVE-2020-7943/

http://www.nessus.org/u?7bb2e325

Plugin Details

Severity: High

ID: 134843

File Name: freebsd_pkg_36def7ba6d2b11eab115643150d3111d.nasl

Version: 1.3

Type: local

Published: 3/24/2020

Updated: 3/21/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2020-7943

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:puppetdb5, p-cpe:/a:freebsd:freebsd:puppetdb6, p-cpe:/a:freebsd:freebsd:puppetserver5, p-cpe:/a:freebsd:freebsd:puppetserver6, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 3/23/2020

Vulnerability Publication Date: 3/10/2020

Reference Information

CVE: CVE-2020-7943