CVE-2012-3866 (GCVE-0-2012-3866)

Vulnerability from cvelistv5 – Published: 2012-08-06 16:00 – Updated: 2024-08-06 20:21
VLAI
Summary
lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for last_run_report.yaml, which allows local users to obtain sensitive configuration information by leveraging access to the puppet master server to read this file.
Severity
No CVSS data available.
CWE
  • n/a
Assigner
mitre CNA under the mitre root
CNA scorecard E 29/100 over 2045 records in the last 180 days details
References
URL Tags
https://github.com/puppetlabs/puppet/commit/fd44b… x_refsource_CONFIRM
http://www.debian.org/security/2012/dsa-2511 vendor-advisoryx_refsource_DEBIAN
http://www.ubuntu.com/usn/USN-1506-1 vendor-advisoryx_refsource_UBUNTU
http://secunia.com/advisories/50014 third-party-advisoryx_refsource_SECUNIA
http://lists.opensuse.org/opensuse-updates/2012-0… vendor-advisoryx_refsource_SUSE
http://puppetlabs.com/security/cve/cve-2012-3866/ x_refsource_CONFIRM
https://bugzilla.redhat.com/show_bug.cgi?id=839135 x_refsource_CONFIRM
Date Public
2012-07-11 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T20:21:03.900Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f"
          },
          {
            "name": "DSA-2511",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "http://www.debian.org/security/2012/dsa-2511"
          },
          {
            "name": "USN-1506-1",
            "tags": [
              "vendor-advisory",
              "x_refsource_UBUNTU",
              "x_transferred"
            ],
            "url": "http://www.ubuntu.com/usn/USN-1506-1"
          },
          {
            "name": "50014",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/50014"
          },
          {
            "name": "openSUSE-SU-2012:0891",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://puppetlabs.com/security/cve/cve-2012-3866/"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=839135"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2012-07-11T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for last_run_report.yaml, which allows local users to obtain sensitive configuration information by leveraging access to the puppet master server to read this file."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2014-10-08T14:57:01.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f"
        },
        {
          "name": "DSA-2511",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "http://www.debian.org/security/2012/dsa-2511"
        },
        {
          "name": "USN-1506-1",
          "tags": [
            "vendor-advisory",
            "x_refsource_UBUNTU"
          ],
          "url": "http://www.ubuntu.com/usn/USN-1506-1"
        },
        {
          "name": "50014",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/50014"
        },
        {
          "name": "openSUSE-SU-2012:0891",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://puppetlabs.com/security/cve/cve-2012-3866/"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=839135"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2012-3866",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for last_run_report.yaml, which allows local users to obtain sensitive configuration information by leveraging access to the puppet master server to read this file."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f",
              "refsource": "CONFIRM",
              "url": "https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f"
            },
            {
              "name": "DSA-2511",
              "refsource": "DEBIAN",
              "url": "http://www.debian.org/security/2012/dsa-2511"
            },
            {
              "name": "USN-1506-1",
              "refsource": "UBUNTU",
              "url": "http://www.ubuntu.com/usn/USN-1506-1"
            },
            {
              "name": "50014",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/50014"
            },
            {
              "name": "openSUSE-SU-2012:0891",
              "refsource": "SUSE",
              "url": "http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html"
            },
            {
              "name": "http://puppetlabs.com/security/cve/cve-2012-3866/",
              "refsource": "CONFIRM",
              "url": "http://puppetlabs.com/security/cve/cve-2012-3866/"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=839135",
              "refsource": "CONFIRM",
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=839135"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2012-3866",
    "datePublished": "2012-08-06T16:00:00.000Z",
    "dateReserved": "2012-07-06T00:00:00.000Z",
    "dateUpdated": "2024-08-06T20:21:03.900Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2012-3866",
      "date": "2026-11-28",
      "epss": "0.00481",
      "percentile": "0.33967"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BE56BA6B-BDC4-431E-81FD-D7ED5E8783E9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FDDDFB28-1971-4CCD-93D2-ABC08FE67F4A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "508105B4-619A-4A9D-8B2F-FE5992C1006A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "26DB96A5-A57D-452F-A452-98B11F51CAE6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D33AF704-FA05-4EA8-BE95-0177871A810F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "07DE4213-E233-402E-88C2-B7FF8D7B682C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.9:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4122D8E3-24AD-4A55-9F89-C3AAD50E638D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AF6D6B90-62BA-4944-A699-6D7C48AFD0A1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8EC6A7B3-5949-4439-994A-68DA65438F5D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.12:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5140C34D-589C-43DB-BCA7-8434EB173205",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.13:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E561C081-6262-46D3-AB17-01EEA6D3E988",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.14:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4703802D-0E3A-4760-B660-6AE0AF74DD40",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet:2.7.16:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BE3D39F6-F9C8-4E7F-981A-265B04E85579",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppetlabs:puppet:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3A81EA6F-49C7-4883-8F93-E76A60DE1164",
                    "versionEndIncluding": "2.7.17",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppetlabs:puppet:2.7.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1E5192CB-094F-469E-A644-2255C4F44804",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:puppetlabs:puppet:2.7.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D17D2752-CB0D-4CC8-8604-FEBF8DEE16E0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F66C1E54-FBEA-4008-BC88-A390D415F3F5",
                    "versionEndIncluding": "2.5.1",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for last_run_report.yaml, which allows local users to obtain sensitive configuration information by leveraging access to the puppet master server to read this file."
          },
          {
            "lang": "es",
            "value": "lib/puppet/defaults.rb en Puppet 2.7.x anterior a 2.7.18, y Puppet Enterprise anterior a 2.5.2,  emplea permisos del tipo 0644 para last_run_report.yaml, lo que permite a usuarios locales obtener informaci\u00f3n sensible de la configuraci\u00f3n aprovechando el acceso al servidor maestro de Puppet para leer el archivo."
          }
        ],
        "id": "CVE-2012-3866",
        "lastModified": "2026-04-29T01:13:23.040",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "LOW",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "LOCAL",
                "authentication": "NONE",
                "availabilityImpact": "NONE",
                "baseScore": 2.1,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "NONE",
                "vectorString": "AV:L/AC:L/Au:N/C:P/I:N/A:N",
                "version": "2.0"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ]
        },
        "published": "2012-08-06T16:55:06.367",
        "references": [
          {
            "source": "cve@mitre.org",
            "url": "http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://puppetlabs.com/security/cve/cve-2012-3866/"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://secunia.com/advisories/50014"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.debian.org/security/2012/dsa-2511"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.ubuntu.com/usn/USN-1506-1"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=839135"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Patch"
            ],
            "url": "https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://puppetlabs.com/security/cve/cve-2012-3866/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://secunia.com/advisories/50014"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.debian.org/security/2012/dsa-2511"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.ubuntu.com/usn/USN-1506-1"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=839135"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Patch"
            ],
            "url": "https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-264"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2025-11-21T12:51:39+00:00",
      "cve": "CVE-2012-3866",
      "id": "CVE-2012-3866",
      "initial_release_date": "2012-07-10T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "puppet: information leak via world readable last_run_report.yaml",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-3866.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.