CVE-2026-82028 Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API
설명
Magistrala before 1.0.0 contains a SQL injection vulnerability in the timescale-reader and postgres-reader HTTP API services that allows authenticated attackers to inject arbitrary SQL by supplying a malicious format query parameter that is interpolated directly into the FROM clause without parameterization or identifier quoting. Attackers with a self-registered account can substitute arbitrary subqueries to achieve cross-tenant database reads, extract pg_shadow password hashes, read and write arbitrary files, and execute arbitrary code as the postgres OS user by loading attacker-supplied shared objects, with all injected SQL executing at superuser privilege due to the default PostgreSQL role configuration.
영향 받는 제품 제품 1개
-
해결 버전 있음
absmach
magistrala
영향 받는 버전
- 1.0.0 미만
해결 버전
- 1.0.0 이상
참고 자료 4건
- github.com https://github.com/absmach/magistrala/pull/3581 (새 창)
- github.com https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9 (새 창)
- github.com https://github.com/absmach/magistrala/releases/tag/v1.0.0 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/magistrala-sql-injection-via-format-parameter-in-reader-api (새 창)