Description
Capgo before 12.128.2 contains a sql injection vulnerability in the POST /private/admin_stats endpoint where the limit parameter is destructured from unvalidated request body and interpolated directly into Cloudflare Analytics Engine SQL queries via template literals. An attacker with platform admin credentials can inject SQL fragments to enumerate dataset schemas, extract analytics data, or cause denial-of-service against the analytics backend.
Problem types
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
Any version before 12.128.2
12.128.2 (semver)
Credits
offset
References
github.com/.../capgo/security/advisories/GHSA-6ffx-8hjj-jhhf
github.com/.../capgo/security/advisories/GHSA-6ffx-8hjj-jhhf (GitHub Security Advisory (GHSA-6ffx-8hjj-jhhf))
www.vulncheck.com/...limit-parameter-in-admin-stats-endpoint (VulnCheck Advisory: Capgo - SQL Injection via Unvalidated limit Parameter in Admin Stats Endpoint)