[Openstack] [OSSN 0052] Python-swiftclient exposes raw token values in debug logs

Nathan Kinder nkinder at redhat.com
Thu Sep 17 18:28:01 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Python-swiftclient exposes raw token values in debug logs
- ---

### Summary ###
The password and authentication token configuration options for the
python-swiftclient are not marked as secret. The values of these options
will be logged to the standard logging output when the controller is run
in debug mode.

### Affected Services / Software ###
Python-swiftclient, Swift, Glance, Juno, Kilo

### Discussion ###
When using the python-swiftclient to connect to Glance, and the
:glance-api.conf: has set the value of the debug option to True, the
requests sent through the API, including user and token details, will be
captured in the local log mechanism.

### Recommended Actions ###
It is recommended to use the debug level in configurations only when
necessary to troubleshoot an issue. When the debug flag is set, the
resulting logs should be treated as having sensitive information and as
such should have strict permissions around the file and containing
directory set in the operating system. Additionally, the logs should
not be transported off the system in plaintext such as through syslog.

The debug level can be turned off by setting the following option in
the `glance-api.conf` file:

    [DEFAULT]
    debug = false

### Contacts / References ###
This OSSN : https://wiki.openstack.org/wiki/OSSN/OSSN-0052
Original LaunchPad Bug :
https://bugs.launchpad.net/python-swiftclient/+bug/1470740
OpenStack Security ML : openstack-security at lists.openstack.org
OpenStack Security Group : https://launchpad.net/~openstack-ossg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJV+wYxAAoJEJa+6E7Ri+EVRnUH/3hUEgd2jX9drwYBLee2E4Wj
Wp/RiLaccAG5COK18H1cLGH+o+owiLYhl+fALV78v+8OfaVvebeM6j7+B2i6XIlI
qObNGAL+NisqBE/JpL8jY2r5aFIwvFjUq8Xb+g9PfFOkmoS8XF/kCtYg+Ac5+EpT
JCBF0U0UTZ/sXg7wrLsHgLozGd+PUk3rtFKuHM2m9YMFOfHRHLtl7U+ihUaQAyWS
V8mPPfGoJ5G3nXXVS8W/8NAVfYhCNAHCZi3zrsr2JvIzZY0Kxrcs9FutBStbQlBe
ybeelGMyKaeEpZpaffrrjIwJwiJgY3ML9vUWOh7AETyKRuWIh0lHQAQs367X28E=
=5wSL
-----END PGP SIGNATURE-----




More information about the Openstack mailing list