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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
zmister2016 MrDoc
Default version status: unaffected
0 to ≤ 1.1.1affected
pkg:github/zmister2016/MrDocReferences
- https://github.com/zmister2016/MrDoc/commit/ec93679499fb6ea88ce868ffc9169fe025917095 ↗
- https://github.com/zmister2016/MrDoc/blob/v1.1.1/app_doc/views.py#L1983-L1996 ↗
- https://github.com/zmister2016/MrDoc/releases/tag/v1.1.1 ↗
- https://hackmd.io/@hieund/mrdoc-get-doctemp-missing-owner-check-cross-user-template-read ↗
- https://www.vulncheck.com/advisories/mrdoc-through-1.1.1-missing-authorization-via-get-doctemp-template-read ↗