Description
Lotus through 0.10.2 contains an sql injection vulnerability that allows authenticated organization users to inject SQL by supplying crafted billable metric property_name or categorical filter values. Attackers can embed SQL in values rendered unescaped into Jinja-generated counter, gauge and rate metric queries to access the database shared by all tenants.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| uselotus | lotus | ≤ 0.10.2 | — |
References
- https://hackmd.io/@leediay/BkUc3WL2Mx technical-description
- https://github.com/uselotus/lotus/blob/0.10.2/backend/metering_billing/aggregation/counter_query_templates.py#L14 technical-description
- https://github.com/uselotus/lotus product
- VulnCheck Advisory: Lotus through 0.10.2 SQL Injection via Metric Property Names and Filters third-party-advisory