Description (CNA)
MinDoc through 2.2-beta.2 contains an insecure direct object reference vulnerability in DocumentController.Content that allows authenticated users to read documents from unauthorized books. Attackers holding a non-observer role on any book can name that book and iterate sequential document ids to read markdown and HTML from private books.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| mindoc-org / MinDoc | affected 0 through 2.2-beta.2 |
CWE
CWE-639
References
- https://hackmd.io/@hieuPenguinnn/mindoc-api-content-get-cross-book-document-idor
- https://github.com/mindoc-org/mindoc/blob/v2.2-beta.2/controllers/DocumentController.go#L847-L973
- https://github.com/mindoc-org/mindoc/blob/v2.2-beta.2/routers/router.go#L242
- https://github.com/mindoc-org/mindoc
- https://www.vulncheck.com/advisories/mindoc-through-2.2-beta.2-idor-via-api-key-content-id-get-branch
ADP enrichment
No English description supplied.
No references supplied.