A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /absmach/magistrala/pull/3581
- github.com /absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a…
- github.com /absmach/magistrala/releases/tag/v1.0.0
- www.vulncheck.com /advisories/magistrala-sql-injection-via-format-parameter-i…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning