CVE-2024-5820 Unprotected WebSocket in stitionai/devika
A malicious website can connect to an unprotected WebSocket to intercept communication and execute commands on the Devika backend.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-5820?
CVE-2024-5820 is a high-severity missing authorization vulnerability in stitionai/devika, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An unprotected WebSocket connection in the latest version of stitionai/devika (commit ecee79f) allows a malicious website to connect to the backend and issue commands on behalf of the user. The backend serves all listeners on the given socket, enabling any such malicious website to intercept all communication between the user and the backend. This vulnerability can lead to unauthorized command execution and potential server-side request forgery.
Weakness: CWE-862
Which versions are affected by CVE-2024-5820?
It affects 1 product.
Products include Stitionai Devika.
How do I fix CVE-2024-5820?
No fix has been published for CVE-2024-5820 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-5820 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5820 exists.
Other vulnerabilities in stitionai/devika
Sources
Also known as GHSA-5hm6-hx2f-3w59.