Why Horizon logs user passwords in plain text when debug logging enabled?
Issue
- Horizon is configured to log messages at DEBUG level. We have noticed that with this configuration, the login attempts are being logged including the user and password in plain text.
2014-06-12 09:49:58,063 24715 DEBUG keystoneclient.session REQ: curl -i -X POST https://openstack.example.com:5000/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"passwordCredentials": {"username": "user", "password": "password"}}}'
- This is a potential security hazard. Is this due a configuration issue or is it the standard behaviour? Is there a way to work around this?
Environment
- Red Hat Enterprise Linux Openstack Platform v4.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.