Description
MrDoc through 1.1.1 contains a missing object-level authorization vulnerability in the ImportLocalDoc API that allows authenticated users to modify other users' documents and projects. Attackers can send PUT requests with arbitrary sort_data document ids to publish private drafts and reparent documents, or POST with arbitrary top_doc ids to inject documents.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zmister2016 | MrDoc | ≤ 1.1.1 | — |
References
- https://hackmd.io/@hieuPenguinnn/mrdoc-import-local-doc-api-missing-authz-cross-user-publish third-party-advisory
- https://github.com/zmister2016/MrDoc/blob/v1.1.1/app_doc/views_import.py#L165-L182 technical-description
- VulnCheck Advisory: MrDoc through 1.1.1 Missing Authorization via api/import_local_doc/ Endpoint third-party-advisory