← CVE Intelligence

CVE-2024-58363

SurrealDB before 1.5.4 Authentication Bypass via Database Switch PUBLISHED

Description (CNA)

SurrealDB before 1.5.4 fails to properly validate authentication when a scope user switches databases using the USE clause or use method. Attackers with an authenticated session can impersonate an unrelated user in a different database if a user record with an identical identifier exists, allowing unauthorized actions if permissions rely solely on the $auth parameter.

Affected (CNA)

Vendor / productVersions
surrealdb / surrealdbaffected 0 before 1.5.4; unaffected 1.5.4
surrealdb / surrealdbaffected 0 before 2.0.0-alpha.6; unaffected 2.0.0-alpha.6
surrealdb / surrealdbaffected 0 before 1.5.1; unaffected 1.5.1

CWE

CWE-287

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.