Description (CNA)
Shinobi before commit 5a76c74f contains a hardcoded connection key in the child node service that allows unauthenticated attackers to execute arbitrary database queries. Attackers reaching the child node port can present the hardcoded key during WebSocket handshake, then dispatch SQL queries through the onWebSocketDataFromChildNode handler to read and modify user records and camera configuration.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Shinobi Systems / Shinobi | affected 0 before 5a76c74f3977661ff3f9fd55a260db352c0b19c0 |
CWE
CWE-798
References
- https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/554
- https://gitlab.com/Shinobi-Systems/Shinobi/-/commit/5a76c74f3977661ff3f9fd55a260db352c0b19c0
- https://gitlab.com/Shinobi-Systems/Shinobi
- https://gitlab.com/Shinobi-Systems/Shinobi/-/blob/f04e685b8bd4c6190fcd62993131b86a76c2b806/libs/childNode/utils.js
- https://www.vulncheck.com/advisories/shinobi-before-commit-5a76c74f-arbitrary-database-query-execution-via-hardcoded-child-node-key
ADP enrichment
No English description supplied.
No references supplied.