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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
uselotus lotus
Default version status: unaffected
0 to ≤ 0.10.2affected
pkg:github/uselotus/lotusReferences
- https://hackmd.io/@leediay/BkUc3WL2Mx ↗
- https://github.com/uselotus/lotus/blob/0.10.2/backend/metering_billing/aggregation/counter_query_templates.py#L14 ↗
- https://github.com/uselotus/lotus ↗
- https://www.vulncheck.com/advisories/lotus-through-0.10.2-sql-injection-via-metric-property-names-and-filters ↗