OpenPanel before 3.0.0 ClickHouse SQL Injection via event.events tRPC Query
Impact
OpenPanel before 3.0.0 contains an sql injection vulnerability that allows authenticated users to bypass tenant scoping by injecting unescaped profile filter names into a JOIN subquery. Attackers can supply a crafted filter name with a trailing comment to bypass the project_id WHERE clause and read events from all projects.
Source excerpt · VulnCheckAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Openpanel-dev · openpanel
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 to before 3.0.0 | affected |
| 3.0.0 | unaffected |
Original source description
OpenPanel before 3.0.0 contains an sql injection vulnerability that allows authenticated users to bypass tenant scoping by injecting unescaped profile filter names into a JOIN subquery. Attackers can supply a crafted filter name with a trailing comment to bypass the project_id WHERE clause and read events from all projects.
References
- Security advisory github.com/Openpanel-dev/openpanel/security/advisories/GHSA-pc3q-gw7f-p2x2
- Patch github.com/Openpanel-dev/openpanel/commit/a2aa053cb23e92967e812d3be5fb0f1d606d9fdc
- Security advisory www.vulncheck.com/advisories/openpanel-before-3.0.0-clickhouse-sql-injection-via-event-events-trpc-query