Description
LingGuo-Drama through commit 8a6924a contains an insecure direct object reference vulnerability that allows registered users to access other users' projects because projects.Get lacks an owner check. Self-registered attackers can iterate numeric IDs via GET, PUT and DELETE /admin/v1/projects/:id to read, overwrite, reassign or delete any user's short-drama projects.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LingGuoAI | LingGuo-Drama | — | — |
References
- https://hackmd.io/@hieuPenguinnn/lingguo-drama-broken-access-control third-party-advisory
- https://github.com/LingGuoAI/LingGuo-Drama/blob/8a6924adf8142678919b4d9a08b9d60c49dcfbed/server/app/models/projects/projects_utils.go#L11-L14 technical-description
- https://github.com/LingGuoAI/LingGuo-Drama/blob/8a6924adf8142678919b4d9a08b9d60c49dcfbed/server/app/http/controllers/admin/v1/projects_controller.go#L173-L198 technical-description
- https://github.com/LingGuoAI/LingGuo-Drama/blob/8a6924adf8142678919b4d9a08b9d60c49dcfbed/server/routes/admin.go#L26-L31 technical-description
- VulnCheck Advisory: LingGuo-Drama through commit 8a6924a IDOR via /admin/v1/projects/:id API third-party-advisory