.. / CVE-2024-40422

Exploit for Devika v1 - Path Traversal (CVE-2024-40422)

Description:

The snapshot_path parameter in the /api/get-browser-snapshot endpoint in stitionai devika v1 is susceptible to a path traversal attack. An attacker can manipulate the snapshot_path parameter to traverse directories and access sensitive files on the server. This can potentially lead to unauthorized access to critical system files and compromise the confidentiality and integrity of the system.

Nuclei Template

View the template here CVE-2024-40422.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2024/CVE-2024-40422.yaml
Copy

References:

https://github.com/stitionai/devika
https://github.com/alpernae/CVE-2024-40422
https://cvefeed.io/vuln/detail/CVE-2024-40422
https://nvd.nist.gov/vuln/detail/CVE-2024-40422
https://www.exploit-db.com/exploits/52066