Description
Papermerge Core through 3.6.0a16 contains a missing authorization vulnerability that allows authenticated users to act for other owners by supplying owner_id or parent_id in request bodies. Attackers can create tags, document types and custom fields owned by other users or groups, and move documents into others' folders via PATCH /nodes/{node_id}.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Papermerge | Papermerge Core | 0 ≤3.6.0a16 | — |
References
- https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/tags/router.py#L158-L170
- https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/document_types/router.py#L146-L163
- https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/nodes/db/api.py#L374-L385
- https://www.vulncheck.com/advisories/papermerge-core-through-3.6-0a16-missing-authorization-via-body-supplied-owner-and-parent-ids