zend-patterns / ZendServerPuppet

ZendServerPuppet
Apache License 2.0
6 stars 16 forks source link

Use of HTTP without TLS #70

Open akondasif opened 6 years ago

akondasif commented 6 years ago

Greetings,

I am a security researcher, who is looking for security smells in Puppet scripts. I found instances where the HTTP protocol is used instead of HTTPS (HTTP with TLS). According to the Common Weakness Enumeration organization this is a security weakness (https://cwe.mitre.org/data/definitions/319.html). I was wondering why HTTP is used? Is it because of lack of tool support?

I am trying to find out if developers are forced to adopt bad practices due to lack of tool support when it comes to the HTTPS protocol. Maybe it is due to dependency on a resource that uses HTTP?

Any feedback is appreciated.

Source: https://github.com/zend-patterns/ZendServerPuppet/blob/master/manifests/params.pp (Line#19)

ubellavance commented 6 years ago

It's using http on localhost, what's the risk?

akondasif commented 6 years ago

@ubellavance , thanks for the quick reply.

According to a Google engineer, localhost has security issues: https://www.scmagazineuk.com/secure-localhost-domain-hint-may-not-says/article/1474262

Would you agree?

ubellavance commented 6 years ago

No, I don't agree there is a risk here, for these reasons: