Description
Tbed through 20240319 contains a missing authorization vulnerability that allows any authenticated user to rename other users' images through the /admin/setImgFileName endpoint. Attackers can supply a victim's imgname, exposed in public image URLs and album listings, to overwrite display names with attacker-chosen text attributed to the victim.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Hello-hao | Tbed | ≤ 20240319 | — |
References
- https://hackmd.io/@hieuPenguinnn/tbed-setimgfilename-cross-user-image-metadata-idor third-party-advisory
- https://github.com/Hello-hao/Tbed/blob/20240319/src/main/java/cn/hellohao/controller/AdminController.java#L158-L176 technical-description
- https://github.com/Hello-hao/Tbed/blob/20240319/src/main/resources/mapper/ImgMapper.xml#L171-L189 technical-description
- VulnCheck Advisory: Tbed through 20240319 Missing Authorization via setImgFileName Endpoint third-party-advisory