CVE-2024-5820: Unprotected WebSocket in stitionai/devika
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5820?
CVE-2024-5820 is considered to have a high severity due to the potential for remote command execution via an unprotected WebSocket.
How do I fix CVE-2024-5820?
To fix CVE-2024-5820, implement authentication and validation checks on the WebSocket connection to prevent unauthorized access.
What type of attack does CVE-2024-5820 enable?
CVE-2024-5820 enables remote command execution attacks, allowing malicious websites to issue commands on behalf of users.
Which versions of stitionai/devika are affected by CVE-2024-5820?
CVE-2024-5820 affects the latest version of stitionai/devika as identified in commit ecee79f.
Is user interaction required for CVE-2024-5820 to be exploited?
Yes, user interaction is typically required, as the user needs to visit the malicious website for the exploitation of CVE-2024-5820 to occur.