CVE-2024-5334 Local File Read in stitionai/devika
Attackers can read arbitrary files from the server via a malicious snapshot_path parameter in the Devika AI agent application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5334?
CVE-2024-5334 is a high-severity path traversal vulnerability in stitionai/devika, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A local file read vulnerability exists in the stitionai/devika repository, affecting the latest version. The vulnerability is due to improper handling of the 'snapshot_path' parameter in the '/api/get-browser-snapshot' endpoint. An attacker can exploit this vulnerability by crafting a request with a malicious 'snapshot_path' parameter, leading to arbitrary file read from the system. This issue impacts the security of the application by allowing unauthorized access to sensitive files on the server.
Weakness: CWE-73
Which versions are affected by CVE-2024-5334?
It affects 1 product.
Products include Stitionai Devika.
How do I fix CVE-2024-5334?
No fix has been published for CVE-2024-5334 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-5334 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5334 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in stitionai/devika
Sources
Also known as GHSA-p7qc-844f-652r.