Bug 996856 (CVE-2013-4761)

Summary: CVE-2013-4761 Puppet: resource_type service code execution
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, aortega, apevec, ayoung, bdunne, bhu, bkearney, ccoleman, chrisw, dallan, dmcphers, esammons, gkotton, iboverma, jfrey, jialiu, jomara, jrafanie, jross, kseifried, lhh, lmeyer, markmc, matt, mcressma, obarenbo, rbryant, rhos-maint, sclewis, security-response-team, skottler, tkramer, williams, xlecauch, yeylon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: puppet 2.7.23, puppet 3.2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-12 05:01:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 997615, 1002990, 1007061    
Bug Blocks: 997641    
Attachments:
Description Flags
2.7.22-puppet-Aug-2013-CVE-fixes.patc
none
3.2.3-puppet-Aug-2013-CVE-fixes.patch none

Description Kurt Seifried 2013-08-14 07:30:49 UTC
Moses Mendoza (moses) reports:

By using the resource_type service a user can cause puppet to load
arbitrary ruby files from filesystem on the puppet master. This is not
enabled by default but may be enabled in auth.conf. Exploit requires
local file system access to the Puppet Master.

Comment 1 Kurt Seifried 2013-08-14 07:34:39 UTC
Created attachment 786417 [details]
2.7.22-puppet-Aug-2013-CVE-fixes.patc

This fixes CVE-2013-4956 and CVE-2013-4761

Comment 2 Kurt Seifried 2013-08-14 07:36:02 UTC
Created attachment 786418 [details]
3.2.3-puppet-Aug-2013-CVE-fixes.patch

This fixes CVE-2013-4956 and CVE-2013-4761

Comment 3 Vincent Danen 2013-08-15 19:22:34 UTC
External References:

http://puppetlabs.com/security/cve/cve-2013-4761/

Comment 4 Vincent Danen 2013-08-15 19:25:30 UTC
Created puppet tracking bugs for this issue:

Affects: fedora-all [bug 997615]

Comment 6 Sam Kottler 2013-08-30 12:28:44 UTC
I've pushed Puppet 3.2.4 to the F20 and rawhide repos which contains a fix for this issue.

Comment 11 Murray McAllister 2013-09-12 13:02:03 UTC
Acknowledgements:

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

Comment 12 errata-xmlrpc 2013-09-24 18:03:30 UTC
This issue has been addressed in following products:

  OpenStack 3 for RHEL 6

Via RHSA-2013:1283 https://rhn.redhat.com/errata/RHSA-2013-1283.html

Comment 13 errata-xmlrpc 2013-09-24 18:14:07 UTC
This issue has been addressed in following products:

  OpenStack 3 for RHEL 6

Via RHSA-2013:1284 https://rhn.redhat.com/errata/RHSA-2013-1284.html

Comment 14 Kurt Seifried 2014-03-12 05:01:34 UTC
This issue has been addressed in following products:

Fedora-all puppet 3.2.4-1 - Update to 3.2.4 to fix CVE-2013-4761 and CVE-2013-4956