Description (CNA)
Rocboss paopao-ce through 0.6.0-alpha.3 contains an insecure direct object reference vulnerability in DownloadAttachment that allows authenticated users to access private media by supplying arbitrary content IDs. Attackers can enumerate sequential post_content ids via the /v1/attachment endpoint to obtain signed download URLs for other users' private, friend-only and following-only images, videos and attachments.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| rocboss / paopao-ce | affected 0 through 0.6.0-alpha.3 |
CWE
CWE-639
References
- https://hackmd.io/@hieuPenguinnn/paopao-ce-attachment-download-cross-user-idor
- https://github.com/rocboss/paopao-ce/blob/v0.6.0-alpha.3/internal/servants/web/priv.go#L208-L250
- https://github.com/rocboss/paopao-ce
- https://www.vulncheck.com/advisories/rocboss-paopao-ce-through-0.6.0-alpha.3-idor-via-downloadattachment-endpoint
ADP enrichment
No English description supplied.