Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Insecure Direct Object Reference - View other user profiles #801

Open
natstheway opened this issue Sep 7, 2018 · 3 comments
Open

Insecure Direct Object Reference - View other user profiles #801

natstheway opened this issue Sep 7, 2018 · 3 comments

Comments

@natstheway
Copy link

Description :
Observed IDOR vulnerability in demo site - https://demo.gleezcms.org/
It will be possible attackers(logged in user) to view profile page of other users.

Version : Gleez CMS v1.3.0

Vulnerability type: Insecure Direct Object Reference

Steps to reproduce :

  1. Login as a demo user
    Username : demo
    Password : demo

  2. After login, you can observe the URL - https://demo.gleezcms.org/user/3 in the address bar.

  3. Change the user ID, from 3 to 4,5,6.

  4. You be will be able to view other user name and their profile page.

Impact
The vulnerability if exploited can allow users to view profile of any other user which the user is not entitled to.

The attacker can view the following

  1. Username
  2. Profile photo
  3. Last visited date
  4. Joined date
  5. Number of visits
@natstheway
Copy link
Author

idor

@sandeepone
Copy link
Member

This is because default permission enabled for the role. It can be disabled form roles -> permissions ui.
Disable "Access to all profiles"

@natstheway
Copy link
Author

Yes. Then kindly disable the same as allowing access would be a insecure configuration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants