GitHub Advisory Database
GHSA-p32q-v29x-wq9r
Focalboard doesn't sanitize category IDs before incorporating them into dynamic SQL statements
Details
UNSUPPORTED WHEN ASSIGNED Focalboard version 8.0 fails to sanitize category IDs before incorporating them into dynamic SQL statements when reordering categories. An attacker can inject a malicious SQL payload into the category id field, which is stored in the database and later executed unsanitized when the category reorder API processes the stored value. This Second-Order SQL Injection (Time-Based Blind) allows an authenticated attacker to exfiltrate sensitive data including password hashes of other users. NOTE: Focalboard as a standalone product is not maintained and no fix will be issued.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/focalboard | All versions up to and including 7.10.6 |