Bug 810069 (CVE-2012-1986) - CVE-2012-1986 puppet: Filebucket arbitrary file read
Summary: CVE-2012-1986 puppet: Filebucket arbitrary file read
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-1986
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 811820 811821 812955 812956 834391
Blocks: 810072 836071
TreeView+ depends on / blocked
 
Reported: 2012-04-05 03:57 UTC by Kurt Seifried
Modified: 2023-05-12 20:19 UTC (History)
2 users (show)

Fixed In Version: puppet 2.6.15, puppet 2.7.13
Clone Of:
Environment:
Last Closed: 2012-12-11 09:25:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1542 0 normal SHIPPED_LIVE Moderate: CloudForms Commons 1.1 security update 2012-12-05 00:29:06 UTC

Description Kurt Seifried 2012-04-05 03:57:49 UTC
From Matthaus Litteken <matthaus>:

CVE-2012-1986 (High) [#13511] - Filebucket arbitrary file read
it is possible to construct a REST request to fetch a file from a
filebucket that overrides the puppet master’s defined location 
for the files to be stored. If a user has access to construct 
directories and symlinks on the machine they can read any file 
that the user the puppet master is running as has access to.

Using the symlink attack described in Bug #13511 the puppet master
can be caused to read from a stream (e.g. /dev/random) when 
either trying to save a file or read a file. Because of the way 
in which the puppet master deals with sending files on the 
filesystem to a remote system via a REST request the thread 
handling the request will block forever reading from that stream 
and continually consuming more memory. This can lead to the puppet
master system running out of memory and cause a denial of service.

Comment 3 Vincent Danen 2012-04-16 16:24:51 UTC
This is public now.

External Reference:

http://puppetlabs.com/security/cve/cve-2012-1986/

Comment 4 Vincent Danen 2012-04-16 16:31:56 UTC
Created puppet tracking bugs for this issue

Affects: fedora-all [bug 812955]
Affects: epel-all [bug 812956]

Comment 5 Murray McAllister 2012-04-19 05:15:30 UTC
Acknowledgements:

Red Hat would like to thank Puppet Labs for reporting this issue.

Comment 6 Fedora Update System 2012-04-27 05:51:03 UTC
puppet-2.6.16-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-04-27 06:05:08 UTC
puppet-2.6.16-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2012-05-02 20:32:36 UTC
puppet-2.6.16-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-05-02 20:33:24 UTC
puppet-2.6.16-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-05-06 04:52:27 UTC
puppet-2.7.13-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 errata-xmlrpc 2012-12-04 19:30:54 UTC
This issue has been addressed in following products:

  CloudForms for RHEL 6

Via RHSA-2012:1542 https://rhn.redhat.com/errata/RHSA-2012-1542.html


Note You need to log in before you can comment on or make changes to this bug.