Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback on hard-coded usernames and passwords in Chef script #109

Closed
akondasif opened this issue Mar 28, 2019 · 1 comment
Closed

Feedback on hard-coded usernames and passwords in Chef script #109

akondasif opened this issue Mar 28, 2019 · 1 comment

Comments

@akondasif
Copy link

Greetings,

I am a security researcher, who is looking for security smells in Chef scripts.
I found instances where usernames and passwords are specified within a Chef script.
According to the Common Weakness Enumeration organization this is a security weakness
(CWE-798: Hard-coded credentials https://cwe.mitre.org/data/definitions/798.html).

I am trying to find out if you agree with the findings and the reasons the usernames and passwords were introduced. Any feedback is appreciated.

Source:

  1. https://github.com/Graylog2/graylog2-cookbook/blob/master/spec/unit/recipes/server_spec.rb
@mariussturm
Copy link
Contributor

@akondasif the code in question is an integration test. The username ans password is not used anywhere else so this should be no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants