Description
MrDoc through 1.1.1 contains a missing authorization vulnerability in the get_doctemp view that allows authenticated users to read other users' document templates. Attackers can enumerate the sequential doctemp_id POST parameter to retrieve the private template content of every user on the instance.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zmister2016 | MrDoc | ≤ 1.1.1 | — |
References
- https://github.com/zmister2016/MrDoc/commit/ec93679499fb6ea88ce868ffc9169fe025917095 patch
- https://github.com/zmister2016/MrDoc/blob/v1.1.1/app_doc/views.py#L1983-L1996 technical-description
- MrDoc v1.1.1 Release Notes release-notes
- https://hackmd.io/@hieund/mrdoc-get-doctemp-missing-owner-check-cross-user-template-read technical-description
- VulnCheck Advisory: MrDoc through 1.1.1 Missing Authorization via get_doctemp Template Read third-party-advisory