Skip to content

Fix for Issue #161 – Unauthorized Avatar Access and IDOR #162

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pravinkumar-exe
Copy link

Fix for Issue #161 – Unauthorized Avatar Access and IDOR in Profile API

  • User-uploaded avatars are publicly accessible via predictable static URLs under /data/avatars/

  • The /api/user/{id} endpoint allows authenticated users to enumerate avatar filenames of other users

…23#58)

This commit introduces a minimal placeholder file corresponding to Issue AIxBlock-2023#58, where an authenticated user can delete another user’s account using the /api/users/{user_id} endpoint.



Signed-off-by: pravinkumar-exe <[email protected]>
This commit adds a placeholder file as part of the bug submission process for issue AIxBlock-2023#116.

The file references the exposure of internal infrastructure details to normal users via the endpoint 'https://app.aixblock.io//api/settings/installation-service/'.

This is made from my forked branch to meet the required PR workflow. Looking forward to feedback.


Signed-off-by: pravinkumar-exe <[email protected]>
…IDOR)

This commit adds a markdown report and proposed patch for Issue AIxBlock-2023#161.

- Describes a vulnerability where user avatar images are publicly accessible via predictable URLs.
- Highlights an IDOR issue in the /api/user/{id} endpoint that allows enumeration of avatar filenames.
- Includes code fixes to:
  - Restrict avatar file access to authenticated users
  - Limit avatar field exposure in user profile responses


Signed-off-by: pravinkumar-exe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant