Issue #5241 has been reported by Tal Y..

----------------------------------------
Bug #5241: puppetd ignores local ca.pem when connecting to master for the first 
time
https://projects.puppetlabs.com/issues/5241

Author: Tal Y.
Status: Unreviewed
Priority: Normal
Assignee: 
Category: API
Target version: 
Affected Puppet version: 2.6.2
Keywords: 
Branch: 


Hi,

I have a clean machine, with only puppet.conf configured (using --genconfig) 
and /etc/puppet/ssl/certs/ca.pem. I now run for the first time puppetd and 
connect to a server that has a *different* CA.

I believe the expected behavior should be that puppetd will abort the 
connection because it connects to an unauthorized server. Instead, puppetd 
continues to communicate with the unauthorized master and generates a new 
certificate request.

Unless I'm mistaken, this scenario could lead to a security breach: if an 
attacker gains control over the DNS, it can redirect new machines to its own 
malicious master. The master will make the node install a rootkit for example. 
Afterwards the attacker will redirect the DNS back to the original master. The 
node will then retrieve from the original (unsuspecting) master sensitive 
information, information that now the attacker can access.

I'm running puppet version 2.6.2.

Thanks,
Tal


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to