Path traversal in Puppet Agent - CVE-2012-3865

 

Path traversal in Puppet Agent - CVE-2012-3865

Published: August 6, 2012 / Updated: December 8, 2022


Vulnerability identifier: #VU43768
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2012-3865
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Puppet Labs
Affected software:
Puppet Agent

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in lib/puppet/reports/store.rb in Puppet before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, when Delete is enabled in auth.conf,. A remote authenticated attacker can send a specially crafted HTTP request and remote authenticated users to delete arbitrary files on the puppet master server via a . (dot dot) in a node name.


How to mitigate CVE-2012-3865

Install update from vendor's website.

Sources