Description
ShowDoc through 3.9.5 contains an authorization bypass vulnerability in the api/paramDescLib/deleteEntries endpoint that checks edit permission only for the first supplied entry id. Authenticated attackers can place their own entry id first and append other users' entry ids to permanently delete those parameter-description entries.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| star7th | ShowDoc | ≤ 3.9.5 | — |
References
- https://github.com/star7th/showdoc/issues/2612 issue-tracking
- https://github.com/star7th/showdoc/commit/53228511e656904abf7841c3d25ff78a4b5ce9c2 patch
- https://github.com/star7th/showdoc/blob/v3.9.5/server/app/Api/Controller/ParamDescLibController.php#L545-L584 technical-description
- https://hackmd.io/@hieuPenguinnn/showdoc-paramdesclib-cross-item-idor-delete third-party-advisory
- https://github.com/star7th/showdoc product
- VulnCheck Advisory: ShowDoc through 3.9.5 Authorization Bypass via paramDescLib deleteEntries third-party-advisory