Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MarceauKa | Shaark | 1.2.13 – ≤ 1.2.44 | — |
References
- GitHub Pull Request #110 issue-tracking patch
- Vulnerable code in LinkController.php technical-description
- https://github.com/MarceauKa/shaark product
- VulnCheck Advisory: Shaark 1.2.13 through 1.2.44 Missing Authorization via API Update and Delete Routes third-party-advisory