Skip to content

Security advisory for v4.1.0 with non-superadmin users #2412

@knadh

Description

@knadh

Issue

The subscribers:sql_query permission check is broken, allowing non-superadmin users on an installation to query the sessions table via the GET /api/subscribers API and access the Super Admin account.

Who is affected?

Installations with non-trusted user accounts with the subscribers:get_all permission.

Mitigation
If you have non-trusted user accounts, disable the subscribers:get_all permission on them for now. This fully disables using the API to query subscribers via SQL expressions. A fix is being developed here which will be available in the upcoming v5.0.0 release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions