Paper/Archive/CVE-2024-3234

CVE-2024-3234

gaizhenbiao gaizhenbiao/chuanhuchatgpt — Path Traversal in gaizhenbiao/chuanhuchatgpt

Description · from the CVE record

The gaizhenbiao/chuanhuchatgpt application is vulnerable to a path traversal attack due to its use of an outdated gradio component. The application is designed to restrict user access to resources within the `web_assets` folder. However, the outdated version of gradio it employs is susceptible to path traversal, as identified in CVE-2023-51449. This vulnerability allows unauthorized users to bypass the intended restrictions and access sensitive files, such as `config.json`, which contains API keys. The issue affects the latest version of chuanhuchatgpt prior to the fixed version released on 20240305.

Affected

ProductAffectedFixed inSource
gaizhenbiao/chuanhuchatgptunspecified – < 20240305 20240305CNA
chuanhuchatgpt< 2024030520240305CISA-ADP

Scores by source

@huntr_ai (CNA)9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refhuntr.com/bounties/277e3ff0-5878-4809-a4b9-73cdbb70dc9frefgithub.com/gaizhenbiao/chuanhuchatgpt/commit/6b8f7db347b390f6f8bd07ea2a4ef01a47382f00