Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Hello-hao / Tbed | affected 0 through 20240319 |
CWE
CWE-639
References
- https://hackmd.io/@hieuPenguinnn/tbed-setimgfilename-cross-user-image-metadata-idor
- https://github.com/Hello-hao/Tbed/blob/20240319/src/main/java/cn/hellohao/controller/AdminController.java#L158-L176
- https://github.com/Hello-hao/Tbed/blob/20240319/src/main/resources/mapper/ImgMapper.xml#L171-L189
- https://www.vulncheck.com/advisories/tbed-through-20240319-missing-authorization-via-setimgfilename-endpoint
ADP enrichment
No English description supplied.