CVE-2014-3248
Description
Untrusted search path vulnerability in Puppet Enterprise 2.8 before 2.8.7, Puppet before 2.7.26 and 3.x before 3.6.2, Facter 1.6.x and 2.x before 2.0.2, Hiera before 1.3.4, and Mcollective before 2.5.2, when running with Ruby 1.9.1 or earlier, allows local users to gain privileges via a Trojan horse file in the current working directory, as demonstrated using (1) rubygems/defaults/operating_system.rb, (2) Win32API.rb, (3) Win32API.so, (4) safe_yaml.rb, (5) safe_yaml/deep.rb, or (6) safe_yaml/deep.so; or (7) operatingsystem.rb, (8) operatingsystem.so, (9) osfamily.rb, or (10) osfamily.so in puppet/confine.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2014-3248
Vendor advisory: cve@mitre.org — http://puppetlabs.com/security/cve/cve-2014-3248
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 2.0.1-1 |
| debian | bullseye | fixed | 2.0.1-1 |
| debian | forky | fixed | 2.0.1-1 |
| debian | sid | fixed | 2.0.1-1 |
| debian | trixie | fixed | 2.0.1-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | facter | <~> 1.7.6 | ~> 1.7.6 |
| RubyGems | hiera | <>= 1.3.4 | >= 1.3.4 |
| RubyGems | puppet | <~> 2.7.26 | ~> 2.7.26 |
| RubyGems | mcollective-client | <>= 2.5.2 | >= 2.5.2 |
| RubyGems | facter | <1.7.6 | 1.7.6 |
| RubyGems | facter | >=2.0.0,<2.0.2 | 2.0.2 |
| RubyGems | hiera | <1.3.4 | 1.3.4 |
| RubyGems | puppet | <2.7.26 | 2.7.26 |
| RubyGems | puppet | >=3.0.0,<3.6.2 | 3.6.2 |
| RubyGems | mcollective-client | <2.5.2 | 2.5.2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| puppet | facter | 2.0.0 | |
| puppet | facter | 2.0.1 | |
| puppetlabs | facter | {"startIncluding":"1.6.0","endIncluding":"1.6.18"} | |
| puppet | marionette_collective | {"endExcluding":"2.5.2"} | 2.5.2 |
| puppet | hiera | {"endExcluding":"1.3.4"} | 1.3.4 |
| puppet | puppet | {"endExcluding":"2.7.26"} | 2.7.26 |
| puppet | puppet_enterprise | {"startIncluding":"2.8.0","endExcluding":"2.8.7"} | 2.8.7 |
References
- https://github.com/advisories/GHSA-92v7-pq4h-58j5
- http://puppetlabs.com/security/cve/cve-2014-3248
- http://rowediness.com/2014/06/13/cve-2014-3248-a-little-problem-with-puppet/
- http://secunia.com/advisories/59197
- http://secunia.com/advisories/59200
- http://www.securityfocus.com/bid/68035
- https://security-tracker.debian.org/tracker/CVE-2014-3248
- https://nvd.nist.gov/vuln/detail/CVE-2014-3248
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/facter/CVE-2014-3248.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hiera/CVE-2014-3248.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mcollective-client/CVE-2014-3248.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2014-3248.yml
- https://web.archive.org/web/20141129061319/http://www.securityfocus.com/bid/68035
- https://web.archive.org/web/20150204183209/http://rowediness.com/2014/06/13/cve-2014-3248-a-little-problem-with-puppet
- https://web.archive.org/web/20150907182402/http://puppetlabs.com/security/cve/cve-2014-3248
CWEs
CWE-17
Verify integrity in audit chain (admin only). AS-IS.