| 제목 | dbgate <= 7.2.5 Path Traversal |
|---|
| 설명 | A vulnerability was found in dbgate/dbgate up to 7.2.5 and classified as critical. The database-connections/export-model-sql endpoint passes the user-controlled outputFile parameter directly to fs.writeFile without path validation. An attacker with a valid database connection identifier can specify any absolute filesystem path and overwrite existing files with SQL schema content. The only prerequisite is a conid which can be created through the connections/new-sqlite-database API. The default Docker deployment uses anonymous authentication. The attack can be performed remotely. The CVSS base score is 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H). |
|---|
| 원천 | ⚠️ https://github.com/0xGenesi/CVE/blob/main/dbgate_export_model_sql_arbitrary_write.md |
|---|
| 사용자 | chenhuanlin (UID 100424) |
|---|
| 제출 | 2026. 08. 14. AM 08:57 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 09. 27. PM 07:01 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 410927 [dbgate 까지 7.3.1 Export databaseConnections.js exportModelSql outputFile 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|