Description (CNA)
Shaark 1.2.13 through 1.2.44 contains a missing authorization vulnerability in the Link, Story, Chest and Album API controllers that skips ownership checks. Authenticated non-admin users can send PUT or DELETE requests to /api/{link,story,chest,album}/{id} with numeric IDs to overwrite or delete other users' content, including private items.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| MarceauKa / Shaark | affected 1.2.13 through 1.2.44 |
CWE
CWE-639
References
- https://github.com/MarceauKa/shaark/pull/110
- https://github.com/MarceauKa/shaark/blob/1.2.44/app/Http/Controllers/Api/LinkController.php
- https://github.com/MarceauKa/shaark
- https://www.vulncheck.com/advisories/shaark-1.2.13-through-1.2.44-missing-authorization-via-api-update-and-delete-routes
ADP enrichment
No English description supplied.
No references supplied.