Bug 742645 (CVE-2011-3869) - CVE-2011-3869 puppet: K5login content attack
Summary: CVE-2011-3869 puppet: K5login content attack
Alias: CVE-2011-3869
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 742654 742655
Blocks: 742180 748458
TreeView+ depends on / blocked
Reported: 2011-09-30 21:33 UTC by Vincent Danen
Modified: 2021-02-24 14:35 UTC (History)
6 users (show)

Fixed In Version: puppet 2.6.11, puppet 2.7.5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-07-04 06:51:35 UTC

Attachments (Terms of Use)
patch from upstream for 2.6.x and 2.7.x (1.40 KB, patch)
2011-09-30 23:18 UTC, Vincent Danen
no flags Details | Diff
patch from upstream for 0.25.x (1.44 KB, patch)
2011-09-30 23:19 UTC, Vincent Danen
no flags Details | Diff

Description Vincent Danen 2011-09-30 21:33:20 UTC
A flaw was found in the way puppet handled the k5login type.  The k5login type is typically used to manage a file in the home directory of a user.  It would write to the target file, as root, without doing anything to secure the file.  This would allow the owner of the home directory to symlink to anything on the system, and have the contents replaced, as root.

This is corrected in upstream 2.6.11 and 2.7.5 releases.

Comment 1 Vincent Danen 2011-09-30 23:18:33 UTC
Created attachment 525847 [details]
patch from upstream for 2.6.x and 2.7.x

Comment 2 Vincent Danen 2011-09-30 23:19:19 UTC
Created attachment 525848 [details]
patch from upstream for 0.25.x

Comment 3 Vincent Danen 2011-09-30 23:36:20 UTC
Created puppet tracking bugs for this issue

Affects: fedora-all [bug 742654]
Affects: epel-all [bug 742655]

Comment 4 Fedora Update System 2011-10-24 15:39:36 UTC
puppet-0.25.5-2.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Kurt Seifried 2012-04-11 16:17:55 UTC
Resolved in Puppet 2.7.5 and 2.6.11, CloudForms ships Puppet 2.6.14.

Comment 6 Tomas Hoger 2012-07-04 06:51:35 UTC
Fixed upstream in 2.7.5 and 2.6.11.

External Reference:


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