| शीर्षक | dcatadmin Dcat-Admin v2.2.2-beta SQL Injection |
|---|
| विवरण | Dcat Admin v2.2.2-beta (and earlier versions) contains an authenticated SQL injection vulnerability in the code generator endpoint POST /admin/helpers/scaffold/table. The tb (table name) parameter is concatenated directly into an information_schema.columns query in ScaffoldController.php (lines 227–237) without any filtering or parameter binding. Although the endpoint catches SQL errors and always returns HTTP 200, an attacker can exploit it via time-based blind injection using SLEEP() payloads — a stable ~10x timing difference (~3.4s vs ~0.35s) between TRUE and FALSE conditions confirms the injection. By automating the boolean oracle, an attacker can extract arbitrary database data character by character; during testing, the database version, DB user, current database, and the administrator's username and bcrypt password hash were successfully dumped. A valid backend administrator session and matching CSRF token are required for exploitation. The fix is to use parameter binding (AND TABLE_NAME = ?) and validate table names against a whitelist. |
|---|
| स्रोत | ⚠️ https://github.com/blue060/cve/issues/1 |
|---|
| उपयोगकर्ता | zhixia (UID 98925) |
|---|
| सबमिशन | 30/10/2026 10:53 AM (29 दिन पहले) |
|---|
| संयम | 27/11/2026 07:06 PM (28 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 444963 [dcatadmin Dcat-Admin 2.2.2-beta ScaffoldController.php getDatabaseColumns tb SQL इंजेक्शन] |
|---|
| अंक | 20 |
|---|