You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benoit Chesneau (JIRA)" <ji...@apache.org> on 2010/01/05 17:02:54 UTC

[jira] Created: (COUCHDB-614) password hash shouldn't be displayed in _config display

password hash shouldn't be displayed in _config display
-------------------------------------------------------

                 Key: COUCHDB-614
                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
             Project: CouchDB
          Issue Type: Improvement
          Components: HTTP Interface
    Affects Versions: 0.10.1, 0.10.2, 0.11
            Reporter: Benoit Chesneau


password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797008#action_12797008 ] 

Benoit Chesneau commented on COUCHDB-614:
-----------------------------------------

Well page could be opened by an admin but visible by everyone, it could be a security problem.

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Stephan Wehner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797242#action_12797242 ] 

Stephan Wehner commented on COUCHDB-614:
----------------------------------------

Thanks Chris!

Since the passwords are salted, is there any use in displaying the hash (assuming the salt is not also displayed) ?

Stephan

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Adam Kocoloski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797141#action_12797141 ] 

Adam Kocoloski commented on COUCHDB-614:
----------------------------------------

Hi Benoit, the _config display is only readable by admins already, right?

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Chesneau closed COUCHDB-614.
-----------------------------------

      Assignee: Benoit Chesneau
    Resolution: Fixed

only available for admin, so not really a problem

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>            Assignee: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Stephan Wehner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797165#action_12797165 ] 

Stephan Wehner commented on COUCHDB-614:
----------------------------------------

Could the page with the password hash be accessed by an admin through http (not encrypted)?

(Do I understand this right that no salt is involved in password hashing?)

Stephan

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797162#action_12797162 ] 

Benoit Chesneau commented on COUCHDB-614:
-----------------------------------------

@adam yes, but you can let your computer open behind you. 

I think that we should make really hard for people to show hashes. The click for show and asking a second time for the password is good but I wonder if it's useful if they can just request the _config. 

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796771#action_12796771 ] 

Chris Anderson commented on COUCHDB-614:
----------------------------------------

Why not? This is useful for eg: manually copying admin config to a new node.

Since only admins can see the config anyway, and it's nothing they couldn't get from the config API or the local.ini, I see no reason to be modest about it in Futon.

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797174#action_12797174 ] 

Chris Anderson commented on COUCHDB-614:
----------------------------------------

@Stephan

The hashed passwords are salted.

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797243#action_12797243 ] 

Chris Anderson commented on COUCHDB-614:
----------------------------------------

on #couchdb ravidgemole and davidc and I were discussing an configuration option: require_https which would solve this for people who need the extra security.

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797159#action_12797159 ] 

Chris Anderson commented on COUCHDB-614:
----------------------------------------

could make sense to do an ajax "click to show" for the hashed password. like aws does. if you think it's important.

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-614) password hash shouldn't be displayed in _config display

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797173#action_12797173 ] 

Chris Anderson commented on COUCHDB-614:
----------------------------------------

maybe are real solution to this is to make it simpler for users to pick which system roles they'd like to apply to given operations.

Just because my user account has an admin role, doesn't mean I want all my operations should to have admin privileges. Maybe a way to say "treat me like a normal user" would add some protection.

> password hash shouldn't be displayed in _config display
> -------------------------------------------------------
>
>                 Key: COUCHDB-614
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-614
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.10.1, 0.10.2, 0.11
>            Reporter: Benoit Chesneau
>
> password hash shouldn't be displayed in _config display.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.