CVE-2023-54366
8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
SurrealDB before 1.0.1 sets default table permissions to FULL instead of NONE, allowing SELECT, CREATE, UPDATE, and DELETE operations on tables without explicit permissions. Attackers with database access or unauthenticated users on publicly exposed instances can perform unrestricted operations on unprotected tables within their authorization scope.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| surrealdb | surrealdb | 0 < 1.0.1 | affected |
| surrealdb | surrealdb | 1.0.1 | unaffected |
Weaknesses
- CWE-276: Incorrect Default Permissions
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-x5fr-7hhj-34j3
- https://www.vulncheck.com/advisories/surrealdb-before-insecure-default-table-permissions
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.