Skip to content

Vulnerability in surrealdb

CVE-2023-54366 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

SurrealDB 1.0.1より前のバージョンでは、テーブルの既定の権限が必要以上に広く設定されており、明示的な権限がないテーブルに対してデータの参照・作成・更新・削除が行えてしまいます。データベースへのアクセス権を持つ利用者や、公開されたインスタンスに認証なしでアクセスできる者が、権限の範囲内で制限なく操作できるおそれがあります。修正版の1.0.1以降へ更新してください。

What is the problem

SurrealDBのデフォルトテーブル権限の設定ミスによるアクセス権限のミス

Affected scope

SurrealDBのバージョン1.0.1より前のデータベース

Severity

高い危険性があり、未許可のユーザーによるデータ操作が可能になります。

How to fix

バージョン1.0.1以降にアップデートし、デフォルトのテーブル権限を見直す。

Workaround

アクセス制限の強化や権限設定を手動で行う。

Detection

SurrealDBのバージョンを確認し、テーブル権限の設定を監査する。

Affected packages

PackageAffected → Fixed
rustsurrealdb
< 1.0.1→ 1.0.1
PyPIsurrealdb
< 1.0.1→ 1.0.1
crates.iosurrealdb
< 1.0.1→ 1.0.1
Original description The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details