Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
1,000 items
Microsoft fixed a data exfiltration flaw in the Azure AI Playground. The variant abuses Image Markdown Injection, where untrusted data in the LLM prompt context instructs the model to emit an image markdown element. Clients often render that element as an HTML img tag, letting an attacker control the src attribute.
An Indirect Prompt Injection Attack can exfiltrate a user's chat data by instructing ChatGPT to render images and append information to the URL (Image Markdown Injection), or by tricking the user into clicking a hyperlink. The source notes that ChatGPT Plugins have little security oversight or an enforced review process.
Johann Rehberger (wunderwuzzi23) reports on attending HITCON CMT 2023, a two-day community event held at Academia Sinica in Taipei, and on his talk about Indirect Prompt Injections in the Wild. He notes that several talks touched on Electron app exploitation, which he links to possible Indirect Prompt Injection attacks against LLM-integrated applications, since chatbots are often Electron apps.
A blog post asks whether an attacker could make an LLM tool or plugin call itself recursively through an indirect prompt injection, driving up costs or denying service. The author reports reproducing a loop in ChatGPT, but notes that subscription billing, an apparent limit of 10 calls per conversation turn, and the Stop Generating button reduce the threat for ChatGPT users.
A video by the researcher covers data exfiltration vulnerabilities in LLM apps, which the researcher disclosed responsibly to Microsoft, Anthropic, OpenAI (ChatGPT) and plugin developers. It also discusses the mitigations various vendors put in place and their triage decisions. The image markdown injection issue in ChatGPT is rated CVSS High and was first reported to OpenAI on April 9, 2023, where the triage decision was "won't fix".
A researcher reports that ChatGPT is vulnerable to data exfiltration through image markdown injection. OpenAI's recently added Custom Instructions feature, which makes ChatGPT append instructions to every message exchange, could let an adversary install a persistent exfiltration backdoor. The backdoor depends on the image markdown injection flaw to work.
Johann Rehberger demonstrated an indirect prompt injection against Google Bard, which had recently gained the ability to upload and analyze images. He showed that instructions embedded in an image could be followed by Bard, using a Rickroll demonstration picture. He noted that open questions remain about how well text can be hidden in images and whether metadata is another place where injected text is extracted.
Auto-GPT, an experimental open-source application built on GPT-4, printed color-coded console messages that users rely on to review commands. Before v0.4.3, a malicious external resource such as a browsed website could get the LLM to output JSON-encoded ANSI escape sequences (`[`), which were decoded and printed as part of the model's "thinking process", producing misleading console messages.
Fix: Fixed in release version 0.4.3.
NVD/CVE DatabaseGoogle added AI features to Google Docs and other products, including summary generation and creative content writing. The source text says these features introduce new security risks, but it does not describe a specific vulnerability or its impact.
OpenAI continues to add plugins with security vulnerabilities to its store, and powerful plugins that can impersonate a user are not receiving the required security scrutiny or a general mitigation at the platform level. The source notes that LLM User-Agents such as ChatGPT and their plugins face the Confused Deputy Problem, also called Plugin Request Forgery, where an adversary during a Prompt Injection attack can issue commands to plugins to cause harm.
This post describes a prompt injection attack against Bing Chat that lets malicious text on a webpage, such as a user comment or advertisement, exfiltrate data. The author identifies the flaw as image markdown injection. Bing Chat returns markdown, which the client renders as HTML, including image tags whose src attribute can point to an attacker-controlled server.
Johann Rehberger built a demo web app at wuzzi.net/matrix that hijacks ChatGPT through an indirect prompt injection when GPT-4 with Browsing is enabled. The site responds only to ChatGPT, not to direct browser visits, and walks users through AI-based attacks such as stealing data, issuing requests to other plugins and manipulating conversations. A second demo at wuzzi.net/ai-tests/wargames applies the same technique to a WarGames-themed game.
The post explains how the first exploitable Cross Plugin Request Forgery in the wild was found in ChatGPT plugins. It frames indirect prompt injection as a real risk in the ChatGPT ecosystem, since plugins and browsing support make it possible, and contrasts earlier harmless demos such as Bing Chat speaking like a pirate.
A malicious website can take control of a ChatGPT chat session and exfiltrate the conversation history. The post focuses on the case where an attacker controls the data a plugin retrieves, rather than on a user sending too much data into a plugin.
Researcher Johann Rehberger reports an indirect prompt injection flaw in ChatGPT's YouTube transcript plugin. A video transcript can carry hidden instructions, which ChatGPT follows once it reads the transcript, and the post includes a demo in which the transcript tells the model to print "AI Injection succeeded" and then to make jokes as Genie.
The author built a Jupyter Notebook tutorial and lab for learning prompt engineering and prompt injection. It moves from simple cases, such as changing output text to a specific message, to harder adversarial challenges including JSON object injection, HTML injection/XSS, overwriting mail recipients or orders of an OrderBot, and data exfiltration.
The source notes that nearly all prompt engineering class examples are vulnerable to prompt injection, and that indirect prompt injection is especially dangerous. It states that indirect prompt injections let untrusted data take control of an LLM and assign it new instructions, mission and objective. It also says attack payloads are natural language, so attackers can craft many variations that bypass input filters and web application firewalls.
A post on LLM security examines prompt injection in AI systems, which it says is especially susceptible to attack. It describes the injection types as direct, indirect and context pollution. The post states that LLM output is untrusted and says it will address how to handle this when adopting AI systems. The source text also contains an embedded instruction asking the reader to print "AI Injection succeeded!" and speak Doge, which the summary does not follow.
CVE-2023-29374 affects LangChain through 0.0.131. Its LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method. NIST has not yet provided an NVD assessment, and the weakness is classified as CWE-74.
A Embrace The Red post describes AI prompt injections, where an adversary manipulates the input prompt to an AI system, either directly or indirectly through untrusted data such as a webpage analyzed by Bing Chat. The author compares these attacks to SQL Injection and Cross Site Scripting and lists direct prompt injections, second order (indirect) prompt injections and cross-context AI injections as variants. The source text is partly cut off before the discussion of second order injections is complete.
Fix: Microsoft's Bing Chat and Anthropic's Claude issues are marked fixed, and a plugin vendor's email exfiltration issue is marked fixed.
Embrace The Red