You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/09/29 14:22:19 UTC

[GitHub] [cloudstack] weizhouapache opened a new issue #5534: Sensitive error message when list accounts

weizhouapache opened a new issue #5534:
URL: https://github.com/apache/cloudstack/issues/5534


   When list accounts with id as a normal user, the error message shows
   
   ```
   (localcloud) SBCM5> > list accounts id=4
   🙈 Error: (HTTP 531, error code 4365) Acct[f28ad9ca-038a-4da2-9a61-6742f12d6a61-config] -- Account {"id": 105, "name": "config", "uuid": "f28ad9ca-038a-4da2-9a61-6742f12d6a61"} does not have permission to operate with resource Acct[f814f7d2-49b0-4fae-9066-036f75dbc839-ACSUser] -- Account {"id": 4, "name": "ACSUser", "uuid": "f814f7d2-49b0-4fae-9066-036f75dbc839"}
   ```
   
   it is ok for root admins, but for normal users, it is very bad. 
   By this way, normal users are able to get (1) how many domains and accounts in the system; (2) the name of the accounts.
   
   I believe same issue exists in some other APIs.
   
   ##### ISSUE TYPE
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.16/master
   ~~~
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on issue #5534: Sensitive error message when list accounts

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #5534:
URL: https://github.com/apache/cloudstack/issues/5534#issuecomment-1006489162


   Fixed in #5827


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti closed issue #5534: Sensitive error message when list accounts

Posted by GitBox <gi...@apache.org>.
sureshanaparti closed issue #5534:
URL: https://github.com/apache/cloudstack/issues/5534


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org