Skip to content

Access control on the endpoint /api/1/avatars/ID - Broken Access Control #677

Description

@gpsilv4

A vulnerability has been detected in the dados.gov system related to insufficient access control on the endpoint /api/1/avatars/ID.

It was found that the application available at dados.gov.pt is not correctly validating user permissions. As a result, any unauthenticated user can access client data by visiting the affected page.

Endpoint where the access control issue was identified:

  • /api/1/avatars/60784b41454ae3c35daf972e/150

When making a request without session cookies or with the cookies of a user without the necessary permissions, the application returns information that should not be accessible.

It is crucial to address this issue to ensure data security, as this Broken Access Control vulnerability exposes user data, allowing unauthorized access to other users' avatars.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions