Incident report
ChuanhuChatGPT Arbitrary File Read via Exposed Gradio Component Traversal
CVE-2024-3234 documented an arbitrary local file read vulnerability in the widely deployed ChuanhuChatGPT open-source ChatGPT interface built on Gradio. Missing validation on file paths passed to Gradio file/upload handlers allowed unauthenticated remote users on internet-facing instances to download arbitrary files from the server. Exposed `config.json` files commonly held OpenAI, Anthropic, and proxy API keys along with saved user transcripts. Operators were urged to patch underlying Gradio versions, add authentication, and rotate leaked API keys.
Incident record
- Reported
- Severity
- High
- Vector
- Exposed Infrastructure
- Affected system type
- Self-Hosted Gradio LLM Chat Wrappers
- Reference
CVE-2024-3234- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-3234
Defensive lesson
Pin Gradio dependencies past CVE fixes, disable unauthenticated public share links, and keep API credentials out of web-readable config directories.
Referenced techniques
- Data from Local System AML.T0037
- Exploit Public-Facing Application AML.T0049
- Unsecured Credentials AML.T0055
- Misconfigured or Publicly Exposed AI Services AML.T0132