जमा करें #719742: Daptin https://github.com/daptin/daptin 0.10.3 SQL Injectionजानकारी

शीर्षकDaptin https://github.com/daptin/daptin 0.10.3 SQL Injection
विवरणA SQL Injection vulnerability exists in Daptin's aggregate API endpoint (`/aggregate/:typename`). The vulnerability occurs because user-supplied input is directly passed to `goqu.L()` (Literal function) without proper sanitization or validation, allowing attackers to execute arbitrary SQL queries. In the file `server/resource/resource_aggregate.go`, the `column`, `group`, and `order` parameters from user requests are directly interpolated into SQL queries using `goqu.L()`: ```go // Lines 139-141 in resource_aggregate.go if strings.Index(project, " as ") > -1 { parts := strings.Split(project, " as ") projectionsAdded = append(projectionsAdded, goqu.L(parts[0]).As(parts[1])) } else { projectionsAdded = append(projectionsAdded, goqu.L(project)) } ``` The `goqu.L()` function treats input as a raw SQL literal, bypassing all query parameterization and escaping mechanisms.
स्रोत⚠️ https://note-hxlab.wetolink.com/share/yMZ8oEgMTAur
उपयोगकर्ता
 hiro (UID 93548)
सबमिशन19/12/2025 08:04 AM (10 महीनों पहले)
संयम02/01/2026 11:08 AM (14 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि339384 [Daptin 0.10.3 Aggregate API resource_aggregate.go goqu.L column/group/order SQL इंजेक्शन]
अंक20

Interested in the pricing of exploits?

See the underground prices here!