You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Arvind Nadendla (JIRA)" <ji...@apache.org> on 2015/07/10 08:19:05 UTC
[jira] [Commented] (JCLOUDS-958) HttpResponseException prints
username and password involved in request
[ https://issues.apache.org/jira/browse/JCLOUDS-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621806#comment-14621806 ]
Arvind Nadendla commented on JCLOUDS-958:
-----------------------------------------
We might need a generic tag to not print out requests which may contain sensitive information...
maybe a OVERRIDES property to configure whether to print out the sensitve request or not.
> HttpResponseException prints username and password involved in request
> ----------------------------------------------------------------------
>
> Key: JCLOUDS-958
> URL: https://issues.apache.org/jira/browse/JCLOUDS-958
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-core
> Affects Versions: 1.9.0
> Environment: Any. Attempting to communicate to a openstack keystone server on Ubuntu with wrong credentials
> Reporter: Arvind Nadendla
>
> When trying to communicate with a server with an invalid credentials, I will get an error that contains the username and password used in the request.
> This is an important security issue as the username and password are revealed in plain text. There might be other places where sensitive information is exposed.
> OUTPUT
> ================================================
> Caused by: org.jclouds.http.HttpResponseException: request: POST https://x.x.x.x:5000/v2.0/tokens HTTP/1.1 [{"auth":{"passwordCredentials":{"username":"admin","password":"admin"},"tenantName":"demo"}}] failed with response: HTTP/1.1 401 Unauthorized
> at org.jclouds.openstack.nova.v2_0.handlers.NovaErrorHandler.handleError(NovaErrorHandler.java:78)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)