Description
ChatWiki before 2.10.0 contains an insecure direct object reference vulnerability in SaveFormField and UpdateFormRequired that allows authenticated users to modify other tenants' form fields. Attackers can pass their own form_id to satisfy the ownership check alongside another tenant's sequential form_field id to alter field names, descriptions, types and required flags, disrupting how submitted entries are stored.
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:github/zhimaAi/chatwikiReferences
- https://github.com/zhimaAi/chatwiki/issues/182 ↗
- https://github.com/zhimaAi/chatwiki ↗
- https://github.com/zhimaAi/chatwiki/commit/81dd7a34be0322dd0881e1b8cfe85de337fdaf2b ↗
- 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/form.go#L307-L352 ↗
- https://github.com/zhimaAi/chatwiki/blob/v2.9.6/internal/app/chatwiki/business/manage/form.go#L385-L411 ↗
- https://hackmd.io/@hieund/chatwiki-form-field-cross-tenant-idor ↗
- https://www.vulncheck.com/advisories/chatwiki-before-2.10.0-cross-tenant-idor-via-saveformfield-and-updateformrequired ↗