CVE-2024-5547

Publication date

2024-06-27 17:33:35

Family

@huntr_ai

State

PUBLISHED

Description

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.