<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.openstack.org/w/index.php?action=history&amp;feed=atom&amp;title=OSSN%2FOSSN-0024</id>
		<title>OSSN/OSSN-0024 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.openstack.org/w/index.php?action=history&amp;feed=atom&amp;title=OSSN%2FOSSN-0024"/>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=OSSN/OSSN-0024&amp;action=history"/>
		<updated>2026-07-08T20:49:11Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=OSSN/OSSN-0024&amp;diff=128782&amp;oldid=prev</id>
		<title>Lhinds: /* Contacts / References */</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=OSSN/OSSN-0024&amp;diff=128782&amp;oldid=prev"/>
				<updated>2016-07-22T09:33:25Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Contacts / References&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:33, 22 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l70&quot; &gt;Line 70:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Contacts / References ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Contacts / References ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Author: Abu Shohel Ahmed, Ericsson&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* This OSSN : https://wiki.openstack.org/wiki/OSSN/OSSN-0024&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* This OSSN : https://wiki.openstack.org/wiki/OSSN/OSSN-0024&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Original Launchpad Bug: https://bugs.launchpad.net/python-keystoneclient/+bug/1004114&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Original Launchpad Bug: https://bugs.launchpad.net/python-keystoneclient/+bug/1004114&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key openstack_wiki:diff:version:1.11a:oldid:63778:newid:128782 --&gt;
&lt;/table&gt;</summary>
		<author><name>Lhinds</name></author>	</entry>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=OSSN/OSSN-0024&amp;diff=63778&amp;oldid=prev</id>
		<title>Nkinder: Created page with &quot;__NOTOC__  == Sensitive data is exposed in log statements by python-keystoneclient ==  === Summary === Python-keystoneclient is a client tool for the OpenStack Identity API, w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=OSSN/OSSN-0024&amp;diff=63778&amp;oldid=prev"/>
				<updated>2014-09-26T02:24:15Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  == Sensitive data is exposed in log statements by python-keystoneclient ==  === Summary === Python-keystoneclient is a client tool for the OpenStack Identity API, w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
== Sensitive data is exposed in log statements by python-keystoneclient ==&lt;br /&gt;
&lt;br /&gt;
=== Summary ===&lt;br /&gt;
Python-keystoneclient is a client tool for the OpenStack Identity API,&lt;br /&gt;
which is implemented by the Keystone project. Various OpenStack services&lt;br /&gt;
including the OpenStack Dashboard depend on python-keystoneclient to&lt;br /&gt;
consume the OpenStack Identity API service. A particular log level&lt;br /&gt;
setting in python-keystoneclient can lead to exposure of user sensitive&lt;br /&gt;
data (e.g., passwords or tokens) in log statements.&lt;br /&gt;
&lt;br /&gt;
=== Affected Services / Software ===&lt;br /&gt;
Python-keystoneclient=&amp;lt;0.10.0&lt;br /&gt;
&lt;br /&gt;
=== Discussion ===&lt;br /&gt;
Python-keystoneclient provides an interface for making Identity API&lt;br /&gt;
requests to the OpenStack Identity Service, Keystone.&lt;br /&gt;
Python-keystoneclient handles user sensitive data such as user passwords&lt;br /&gt;
and tokens when sending requests or receiving responses from a Keystone&lt;br /&gt;
server. Like all OpenStack projects, python-keystoneclient uses a python&lt;br /&gt;
logger to log request/response activities. When python-keystoneclient&lt;br /&gt;
runs with the DEBUG log level enabled, sensitive data such as user&lt;br /&gt;
passwords and tokens associated with requests/responses will be exposed&lt;br /&gt;
in log statements. For example:&lt;br /&gt;
&lt;br /&gt;
  $ keystone --debug user-list&lt;br /&gt;
  DEBUG:keystoneclient.session:REQ: curl -i -X POST&lt;br /&gt;
      http://10.0.0.15:5000/v2.0/tokens -H &amp;quot;Content-Type:application/json&amp;quot;&lt;br /&gt;
      -H &amp;quot;User-Agent: python-keystoneclient&amp;quot;&lt;br /&gt;
  DEBUG:keystoneclient.session:REQ BODY: {&amp;quot;auth&amp;quot;: {&amp;quot;tenantName&amp;quot;: &amp;quot;admin&amp;quot;,&lt;br /&gt;
      &amp;quot;passwordCredentials&amp;quot;: {&amp;quot;username&amp;quot;: &amp;quot;admin&amp;quot;, &amp;quot;password&amp;quot;: &amp;quot;stack&amp;quot;&lt;br /&gt;
      }}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This sensitive data can potentially be exploited by an attacker with&lt;br /&gt;
access to the log statements.&lt;br /&gt;
&lt;br /&gt;
Python-keystoneclient is used by Horizon and other Identity consuming&lt;br /&gt;
services to authenticate a user against the Identity API service,&lt;br /&gt;
Keystone. A user providing password or token for authentication to these&lt;br /&gt;
services could result in the capture of this sensitive data in the&lt;br /&gt;
respective services log statements.&lt;br /&gt;
&lt;br /&gt;
=== Recommended Actions ===&lt;br /&gt;
Version 0.10.1 of python-keystoneclient has addressed this issue by not&lt;br /&gt;
exposing user password and token information in log statements. Any&lt;br /&gt;
service using version 0.10.1 or later of python-keystoneclient is not&lt;br /&gt;
affected by this issue. Other services using old versions, should&lt;br /&gt;
upgrade to a fixed version of python-keystoneclient.&lt;br /&gt;
&lt;br /&gt;
For a fresh installation of a service which depends on&lt;br /&gt;
pythone-keystoneclient, make sure it uses at least version 0.10.1 of&lt;br /&gt;
python-keystoneclient. One way to do this is to set a specific version&lt;br /&gt;
in the requirments.txt file. For example, in Horizon, update&lt;br /&gt;
horizon/requirements.txt file:&lt;br /&gt;
&lt;br /&gt;
  python-keystoneclient&amp;gt;=0.10.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For existing installations, upgrade python-keystoneclient to the&lt;br /&gt;
latest version. For example, python package manager (PIP) can be used&lt;br /&gt;
to upgrade the existing installations.&lt;br /&gt;
&lt;br /&gt;
  $ pip install python-keystoneclient --upgrade&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An alternate approach is to never run a production system with the log&lt;br /&gt;
level in DEBUG mode.&lt;br /&gt;
&lt;br /&gt;
=== Contacts / References ===&lt;br /&gt;
* This OSSN : https://wiki.openstack.org/wiki/OSSN/OSSN-0024&lt;br /&gt;
* Original Launchpad Bug: https://bugs.launchpad.net/python-keystoneclient/+bug/1004114&lt;br /&gt;
* Original LaunchPad Bug : https://bugs.launchpad.net/ossn/+bug/1004114&lt;br /&gt;
* OpenStack Security ML : openstack-security@lists.openstack.org&lt;br /&gt;
* OpenStack Security Group : https://launchpad.net/~openstack-ossg&lt;/div&gt;</summary>
		<author><name>Nkinder</name></author>	</entry>

	</feed>