Description
Shelf is a platform for tracking physical assets. From 1.12 to before 1.20.1, a SQL injection vulnerability in the sortBy query parameter on the /assets route allows any authenticated user (any role) to execute arbitrary SQL and read data from any table in the database, including data belonging to other organizations. This vulnerability is fixed in 1.20.1.
Problem types
CWE-20: Improper Input Validation
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
References
github.com/...elf.nu/security/advisories/GHSA-69xv-wmgg-3qp3
github.com/...elf.nu/security/advisories/GHSA-69xv-wmgg-3qp3
github.com/...ommit/5d35c15856dbf267fab4dccafd077ee7a6fa6f40