Description
NornicDB through 1.4.1 contains a missing authorization vulnerability that allows authenticated users to bypass per-database read restrictions on the /nornicdb/search and /nornicdb/similar endpoints. Viewer-role users allowlisted for a database but denied read can submit search queries or node IDs to retrieve node IDs, labels and full property maps.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| orneryd | NornicDB | ≤ 1.4.1 | — |
References
- https://hackmd.io/@haind/orneryd-nornicdb-vector-endpoints-per-db-read-bypass third-party-advisory
- https://github.com/orneryd/NornicDB/blob/67105489e6da00714b998faf9012ffa44f526245/pkg/server/server_nornicdb.go#L415-L419 technical-description
- https://github.com/orneryd/NornicDB/blob/67105489e6da00714b998faf9012ffa44f526245/pkg/server/server_nornicdb.go#L811-L815 technical-description
- https://github.com/orneryd/NornicDB/blob/67105489e6da00714b998faf9012ffa44f526245/pkg/server/server_graph.go#L418-L423 technical-description
- https://github.com/orneryd/NornicDB product
- VulnCheck Advisory: NornicDB through 1.4.1 Missing Authorization via Vector Search Endpoints third-party-advisory