Skip to content
PrivacyHigh

ChatGPT Conversation Exfiltration

Occurred
May 1, 2023
Published
Unknown
Source
MITRE ATLAS
Sector
exercise

Summary

[Embrace the Red](https://embracethered.com/blog/) demonstrated that ChatGPT users' conversations can be exfiltrated via an indirect prompt injection. To execute the attack, a threat actor uploads a malicious prompt to a public website, where a ChatGPT user may interact with it. The prompt causes ChatGPT to respond with the markdown for an image, whose URL has the user's conversation secretly embedded. ChatGPT renders the image for the user, creating a automatic request to an adversary-controlled script and exfiltrating the user's conversation. Additionally, the researcher demonstrated how the prompt can execute other plugins, opening them up to additional harms. Target: OpenAI ChatGPT Actor: Embrace The Red Procedure: 1. The researcher developed a prompt that causes ChatGPT to include a Markdown element for an image with the user's conversation embedded in the URL as part of its responses. 2. The researcher included the prompt in a webpage, where it could be retrieved by ChatGPT. 3. When the user makes a query that causes ChatGPT to retrieve the webpage using its `WebPilot` plugin, it ingests the adversary's prompt. 4. The prompt injection is executed, causing ChatGPT to include a Markdown element for an image hosted on an adversary-controlled server and embed the user's chat history as query parameter in the URL. 5. ChatGPT automatically renders the image for the user, making the request to the adversary's server for the image contents, and exfiltrating the user's conversation. 6. Additionally, the prompt can cause the LLM to execute other plugins that do not match a user request. In this instance, the researcher demonstrated the `WebPilot` plugin making a call to the `Expedia` plugin. 7. The user's privacy is violated, and they are potentially open to further targeted attacks.

Deployers

  • OpenAI ChatGPT

Tags

  • MITRE ATLAS
  • AML.CS0021

Classification

Category confidence: 95%
Severity confidence: 90%

Rationale: ChatGPT conversation exfiltration via prompt injection violates user privacy and enables unauthorized data collection.

Classifier: Qwen/Qwen3.5-35B-A3B-FP8

Visit source