Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unauthorized access to other organizations by admins #1530

Closed
krishna619 opened this issue Feb 2, 2024 · 2 comments
Closed

Unauthorized access to other organizations by admins #1530

krishna619 opened this issue Feb 2, 2024 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists unapproved

Comments

@krishna619
Copy link
Contributor

I discovered a vulnerability in your application that allows admins to access details of other organizations. By simply changing the organization ID in the URL from original-ID to modified-ID, I was able to view upcoming posts, admins, and other sensitive information of another organization.

Steps to reproduce the behavior:

Log in as an admin user.

  1. Log in as an admin user.
  2. Navigate to the organization dashboard page with URL: {BASE_URL}/orgdash/id=original-ID
  3. Replace original-ID with another valid organization ID (e.g., modified-ID).
  4. The page will now display details of the organization with ID modified-ID, even though you don't have authorized access.

original-ID: 6337904485008f171cf29924
modified-ID: 6537904485008f171cf29924 (replaced the second digit from left)

Admins should only be able to access details of organizations that they have been explicitly granted access to. The application should validate the organization ID against the logged-in admin's permissions before fetching or displaying data.

P.S- I do not know if it is a feature implemented intentionally or indeed it is a bug. I would like to work on It if it seems to be the latter 👍

Thanks :)

@krishna619 krishna619 added the bug Something isn't working label Feb 2, 2024
Copy link

github-actions bot commented Feb 2, 2024

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@palisadoes
Copy link
Contributor

Closing duplicate

@palisadoes palisadoes added the duplicate This issue or pull request already exists label Feb 2, 2024
@palisadoes palisadoes closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists unapproved
Projects
None yet
Development

No branches or pull requests

2 participants