CVE-2024-53844 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in labsai/eddi
Attackers can read sensitive files within the container by manipulating the botFilename parameter in the backup export functionality of EDDI.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-53844?
CVE-2024-53844 is a medium-severity path traversal vulnerability in labsai EDDI, published on 26 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
E.D.D.I (Enhanced Dialog Driven Interface) is a middleware to connect and manage LLM API bots. A path traversal vulnerability exists in the backup export functionality of EDDI, as implemented in `RestExportService.java`. This vulnerability allows an attacker to access sensitive files on the server by manipulating the `botFilename` parameter in requests. The application fails to sanitize user input, enabling malicious inputs such as `..%2f..%2fetc%2fpasswd` to access arbitrary files. However, the **severity of this vulnerability is significantly limited** because EDDI typically runs within a **Docker container**, which provides additional layers of isolation and restricted permissions. As a result, while this vulnerability exposes files within the container, it does not inherently threaten the underlying host system or other containers. A patch is required to sanitize and validate the botFilename input parameter. Users should ensure they are using version 5.4 which contains this patdch. For temporary mitigation, access to the vulnerable endpoint should be restricted through firewall rules or authentication mechanisms.
Weakness: CWE-22
Which versions are affected by CVE-2024-53844?
How do I fix CVE-2024-53844?
No fix has been published for CVE-2024-53844 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-53844 being exploited?
There is no known exploitation of CVE-2024-53844 in the wild and no public exploit code.
Sources
Also known as GHSA-49qh-39wc-4p8j.