Path Traversal in Stitionai Devika
CVE-2024-5547
A directory traversal vulnerability exists in the /api/download-project-pdf endpoint of the stitionai/devika repository, affecting the latest version. The vulnerability arises due to insufficient sanitization of the 'project_name' parameter in the download_project_pdf function. Attackers can exploit this flaw by manipulating the 'project_name' parameter in a GET request to traverse the directory structure and download arbitrary PDF files from the system. This issue allows attackers to access sensitive information that could be stored in PDF format outside the intended directory.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.010, 63.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Stitionai Devika — versions 1.0
- Stitionai Stitionai/devika — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/7ea0eb5f-7643-4452-bc93-a225e2090283 (Exploit, Third Party Advisory)
- github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2 (Patch)