QID 730927

Date Published: 2023-09-28

QID 730927: Puppet Server and PuppetDB Incorrect Default Permissions Vulnerability

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 and 2019.5.0, Puppet Server 6.9.2 and 5.3.12, and PuppetDB 6.9.1 and 5.2.13 disable trapperkeeper-metrics /v1 metrics API and only allows v2 access on localhost by default. This affects software versions: Puppet Enterprise 2018.1.x stream prior to 2018.1.13 Puppet Enterprise prior to 2019.5.0 Puppet Server prior to 6.9.2 Puppet Server prior to 5.3.12 PuppetDB prior to 6.9.1 PuppetDB prior to 5.2.13 Resolved in: Puppet Enterprise 2018.1.13 Puppet Enterprise 2019.5.0 Puppet Server 6.9.2 Puppet Server 5.3.12 PuppetDB 6.9.1 PuppetDB 5.2.13

Affected Version
Puppet Enterprise 2018.1.x stream prior to 2018.1.13 Puppet Enterprise prior to 2019.5.0 Puppet Server prior to 6.9.2 Puppet Server prior to 5.3.12 PuppetDB prior to 6.9.1 PuppetDB prior to 5.2.13

QID Detection Logic (Un-Auth)
This qid sends GET request to /metrics/v1/mbeans path to check for trapperkeeper is enabled or not.

On successful exploitation it may leads to exposing sensitive information to attacker.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Vendor has released upates to this issue. More information can be found here

    CVEs related to QID 730927

    Software Advisories
    Advisory ID Software Component Link
    CVE-2020-7943 URL Logo www.puppet.com/security/cve/cve-2020-7943-puppet-server-and-puppetdb-may-leak-sensitive-information-metrics-api