Description
99AI through 4.3.0 contains an insecure direct object reference vulnerability that allows unauthenticated attackers to read other users' chat messages because querySingleChat lacks an owner check. Attackers can send a fingerprint header to obtain a visitor JWT and iterate sequential chatId values to retrieve other users' message content and task data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vastxie | 99AI | ≤ 4.3.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/99ai-chatlog-unauth-export-and-idor third-party-advisory
- https://github.com/vastxie/99AI/blob/v4.3.0/service/src/modules/chatLog/chatLog.service.ts#L463-L475 technical-description
- https://github.com/vastxie/99AI/blob/v4.3.0/service/src/common/auth/jwtAuth.guard.ts technical-description
- https://github.com/vastxie/99AI product
- VulnCheck Advisory: 99AI through 4.3.0 IDOR via /api/chatLog/querySingleChat Chat Message Disclosure third-party-advisory