CRITICAL🇵🇱 Wersja polska

CVE-2024-40422

CVSS 9.1v3.1pub. 2024-07-24upd. 2025-01-29

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.

🤖 AI Analysis
How it works

An attacker sends a crafted request to the /api/get-browser-snapshot endpoint, manipulating the snapshot_path parameter value by inserting directory traversal sequences (e.g., '../../../'). The application does not validate or sanitize this parameter, and as a result, it processes paths that extend beyond the intended directory. This enables access to any files available in the context of the server process permissions.

Impact

An attacker can gain unauthorized access to sensitive system files (e.g., /etc/passwd, private keys, configuration files) and potentially compromise the integrity of data stored on the server.

Mitigation & patch

Apply patches available from the vendor according to the references — pull request no. 619 is available in the GitHub repository stitionai/devika. An urgent update to a version containing the fix is recommended, as well as implementation of validation and sanitization of path parameters on the server side.

Who is affected

Stitionai Devika v1

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Stitionai Devika

    APP
    Stitionai
    1.0
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Path Traversal
CWE
References

Related vulnerabilities

CVE-2024-5926CRITICAL9.1PL ✓same product

Path traversal w Stitionai Devika — odczyt plików i DoS

CVE-2024-6331HIGH7.5same product

stitionai/devika main branch as of commit cdfb782b0e634b773b10963c8034dc9207ba1f9f is vulnerable to Local File...

CVE-2024-5549HIGH8.1same product

A CORS misconfiguration in the stitionai/devika repository allows attackers to steal sensitive information suc...

CVE-2024-5712HIGH8.1same product

A Cross-Site Request Forgery (CSRF) vulnerability was identified in the stitionai/devika application, affectin...

CVE-2024-5334HIGH7.5same product

A local file read vulnerability exists in the stitionai/devika repository, affecting the latest version. The v...