Description (CNA)
SurrealDB versions before 3.1.0 fail to validate DEFINE NAMESPACE or DEFINE DATABASE permissions when processing USE NS and USE DB statements. Unauthenticated attackers can create arbitrary namespaces and databases by issuing USE commands, bypassing authorization checks in the RPC use method and SurrealQL executor.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| surrealdb / surrealdb | affected 0 before 3.1.0; unaffected 3.1.0 |
CWE
CWE-862
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wp87-mgvq-5j93
- https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-use-statement
ADP enrichment
No English description supplied.
No references supplied.