OpenStack keystone.conf insecure file permissions

2013-04-19 / 2013-07-07
Credit: Kurt Seifried
Risk: Medium
Local: Yes
Remote: No
CWE: CWE-264


CVSS Base Score: 2.1/10
Impact Subscore: 2.9/10
Exploitability Subscore: 3.9/10
Exploit range: Local
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: None
Availability impact: None

As reported: https://bugs.launchpad.net/keystone/+bug/1168252 The password configuration of LDAP and admin_token in keystone.conf should be secret to protect security information: [ldap] # url = ldap://localhost # user = dc=Manager,dc=example,dc=com # password = None <- should be secrect # suffix = cn=example,cn=com # use_dumb_member = False # allow_subtree_delete = False # dumb_member = cn=dumb,dc=example,dc=com [DEFAULT] admin_token = passw0rd <- should be secrect Red Hat has a modified installer, we install the file as: - -rw-------. 1 keystone keystone 10235 Apr 19 00:21 /etc/keystone/keystone.conf Unfortunately when we hardened our installer I didn't check the upstream distribution for the same flaw, something I should have done. I'm now going to review the other hardening we did to ensure upstream is aware of these potential problems. - -- Kurt Seifried Red Hat Security Response Team (SRT)

References:

https://bugs.launchpad.net/keystone/+bug/1168252


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top