Description
ChatWiki before 2.10.0 contains a missing authentication vulnerability in the GET /manage/getLibRawFileOnePage route that allows unauthenticated attackers to read other tenants' documents. Attackers can enumerate sequential admin_user_id and file id query parameters, bypassing the ownership check, to retrieve PDF-rendered pages of any tenant's knowledge-base documents.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
zhimaAi chatwiki
Default version status: unaffected
0 to < 2.10.0affected
pkg:golang/chatwikiReferences
- https://github.com/zhimaAi/chatwiki/issues/181 ↗
- https://github.com/zhimaAi/chatwiki ↗
- https://github.com/zhimaAi/chatwiki/commit/d1ca145e283e2cb652e0b1002d5f14d6a46671e3 ↗
- https://github.com/zhimaAi/chatwiki/releases/tag/v2.10.0 ↗
- https://github.com/zhimaAi/chatwiki/blob/v2.9.6/internal/app/chatwiki/business/manage/lib_file.go#L936 ↗
- https://www.vulncheck.com/advisories/chatwiki-before-2.10.0-unauthenticated-document-disclosure-via-getlibrawfileonepage ↗