Overview
EDDI is middleware for connecting and managing LLM-driven chatbots. The backup export endpoint in RestExportService.java takes a botFilename parameter and builds a file path from it without sanitizing the input.
An authenticated attacker passes encoded traversal sequences such as ..%2f..%2fetc%2fpasswd and reads arbitrary files. EDDI normally runs in a Docker container, so the reads stop at the container boundary and do not reach the host. EDDI 5.4 fixes the issue.
Affected products
- EDDI before 5.4.0
Disclosure timeline
- 22 Nov 2024
- CVE-2024-53844 reserved; LabsAI releases EDDI 5.4.0 with the fix
- 26 Nov 2024
- GitHub advisory and CVE published