TrailBase victim file deletion via FileUpload object IDs
trailbaseio trailbase
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| trailbaseio trailbase |
| No fix yet |
Original description
TrailBase 0.28.2 before 0.35.10 contains an insecure direct object reference in std.FileUpload columns, where the Record API accepts attacker-supplied object-store file ids on insert and update without ownership validation. An authenticated attacker who can read a victim’s row can recover its stripped file id via a $like filter and then permanently delete or orphan the victim’s file by deleting or nulling a record they own.
From the CVE record · VulnCheck