Description
langchain4j-aideepin through 3.32.0 contains an insecure direct object reference vulnerability in CharacterMessageController that allows authenticated users to access other users' message references due to missing owner checks. Attackers can supply another user's message uuid to the knowledge-embedding-ref, memory-embedding-ref, or graph-ref endpoints to retrieve knowledge-base chunks, long-term memory text, and knowledge-graph data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| moyangzhan | langchain4j-aideepin | ≤ 3.32.0 | — |
References
- GitHub Issue #118 issue-tracking
- https://github.com/moyangzhan/langchain4j-aideepin product
- https://github.com/moyangzhan/langchain4j-aideepin/blob/v3.32.0/server/adi-common/src/main/resources/mapper/CharacterMessageRefMemoryEmbeddingMapper.xml#L4-L10 technical-description
- https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953 patch
- VulnCheck Advisory: langchain4j-aideepin through 3.32.0 IDOR via /character/message reference endpoints third-party-advisory