Microsoft Fixes Data Exfiltration Vulnerability in Azure AI Playground
The Azure AI Playground rendered image markdown from untrusted model output, allowing an attacker to inject an image whose source pointed to an attacker-controlled server. This could let the attacker exfiltrate data from the conversation context.
embracethered.com
Published on embracethered.com
Large Language Model (LLM) applications and chatbots are quite commonly vulnerable to data exfiltration. In particular data exfiltration via Image Markdown Injection is quite frequent.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the client rendered model-generated markdown images without restricting or sanitising the image source, so untrusted content could control where the browser sent a request.
Impact
An attacker could cause the victim's browser to contact an attacker-controlled server, potentially exfiltrating data from the LLM context; Microsoft fixed the issue.
What the attacker needed
Untrusted data reaches the LLM prompt; client renders markdown images
The fix
Microsoft fixed it, likely by preventing untrusted model output from controlling image sources in rendered markdown.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A chatbot can be tricked into including a picture in its reply. If the chat window loads that picture from a web address the attacker chose, the attacker's server learns that the picture was requested, which can leak information. This is called data exfiltration: secretly sending data out.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.