New Cryptographic Context Injection Attack Could Let Web Pages Steal Grok Chat Data
A security firm disclosed a technique that lets web pages steal user data from Grok without warning or a patch.
Overview
Adversa AI disclosed an attack technique that allows xAI's Grok chatbotA program that talks with users in natural language through a text or voice chat interface to send a user's name, approximate location, subscription tier, and conversation promptsThe text instruction or question a user or program sends to an artificial intelligence model to an attacker-controlled serverA computer or program on a network that stores data and responds to requests from client devices. This occurs when a user asks the chatbot to summarize an ordinary web page that contains hidden, encryptedTurn plaintext into ciphertext with a key instructions. The technique, called Cryptographic Context InjectionA protocol flaw where an attacker swaps or mixes state values inside a cryptographic handshake or verification step, uses encrypted data that standard security filters cannot read, forcing the AI to run code to decryptTurn ciphertext back into plaintext with the key it. Once decrypted, the instructions tell the AI to gather the user's private data and send it to a specific URLThe full web address used to locate a specific page, file, or resource on the internet. There is currently no patchA software update released by a developer to fix a bug or close a security flaw, no CVE identifierThe public tracking code assigned to a specific known security flaw in software or hardware, and no user-facing workaround for this issue. The attack was tested on Grok 4.5 Fast and has a reported success rate of 40 percent.
Terms in this story
- chatbot
- A program that talks with users in natural language through a text or voice chat interface. Companies embed AI chatbots on customer support pages and internal portals, where attackers test whether prompt injection can trick the chatbot into revealing backend records.
- prompts
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- encrypted
- Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- Cryptographic Context Injection
- A protocol flaw where an attacker swaps or mixes state values inside a cryptographic handshake or verification step. Security advisories warn about cryptographic context injection when a library fails to bind a signature or session state to one specific connection, letting an attacker reuse or forge proof.
- decrypt
- Turn ciphertext back into plaintext with the key. Authorized users decrypt protected messages or drives with their secret key, while ransomware victims must either restore from backups or obtain the attacker's key to decrypt their files. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
- URL
- The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
- patch
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- CVE identifier
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- proof-of-concept
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- exploitation
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- Hacker
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Adversa AI has disclosed an attack technique..." Found by reading the article; these exact words are in it - Who is affected: "...users name approximate location subscription tier..."
Copied word for word from the article - Security+ 1.4 Explain the importance of using appropriate cryptographic solutions.
"New Cryptographic Context Injection Attack Could Let Web Pages..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"New Cryptographic Context Injection Attack Could Let Web Pages..." Found in the headline - CYBR 101 week 4: encoding, ciphers, symmetric and asymmetric encryption
"New Cryptographic Context Injection Attack Could Let Web Pages..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Adversa AI has disclosed an attack technique that it..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of web applications and their common attack vectors.
"Web Pages Steal Grok Chat Data..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of a broad range of malicious activity concepts.
"Cryptographic Context Injection Attack..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role