SurrealDB before 1.5.4 Authentication Bypass via Database Switch
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| surrealdb | surrealdb | unaffected |
|
|||||||||
| surrealdb | surrealdb | unaffected |
|
|||||||||
| surrealdb | surrealdb-core | unaffected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Surrealdb | Surrealdb |
|
||||||||||||
| Surrealdb | Surrealdb |
|
||||||||||||
| Surrealdb | Surrealdb |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.343% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | SurrealDB before 1.5.4 and 2.0.0-alpha.1 before 2.0.0-alpha.6 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. |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha1:*:*:*:*:*:* cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha2:*:*:*:*:*:* cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha3:*:*:*:*:*:* cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha4:*:*:*:*:*:* cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha5:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Surrealdb
Surrealdb surrealdb |
|
| Vendors & Products |
Surrealdb
Surrealdb surrealdb |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | SurrealDB before 1.5.4 Authentication Bypass via Database Switch | |
| Weaknesses | CWE-287 | |
| References |
| |
| Metrics |
cvssV3_1
|