Exploiting the IKKO Activebuds “AI powered” earbuds (2024)
The IKKO Activebuds earbuds ran Android with ADB enabled and stored an OpenAI API key in the companion app. The chat history API lacked authentication, allowing anyone with a device IMEI to read chats and send messages to other users.
blog.mgdproductions.com
Published on blog.mgdproductions.com
So my journey with these earbuds started after I saw them on this Mrwhosetheboss video about pointless tech. This device seems to be also popular on TikTok.
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 chat history and message logging APIs authenticated only by device IMEI, and the app embedded a static OpenAI API key.
Impact
An attacker could read chat histories of any device by guessing its IMEI, send messages to any user, and obtain the full name of a device owner; the OpenAI key remained on the device even after a partial fix.
What the attacker needed
Knowledge of a device IMEI; no account needed for chat history; companion app for binding
The fix
The chat history endpoint was updated to require a signature header, but the QR code binding and message injection issues remained, and the OpenAI key was not rotated until later.
How it was found
- Plug the earbuds into a PC and observe that ADB is enabled.
- Extract the launcher app and inspect it with JADX to find API endpoints and keys.
- Sideload the app on a rooted device to observe network traffic and extract the OpenAI key.
- Query the chat history API with a device IMEI from a tutorial video to retrieve chats.
- Generate a binding QR code for any IMEI using the getBindDevQrCode API.
- Send arbitrary text to any device via the logging endpoint using only the device ID.
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.
The earbuds run Android and had a debugging feature left on, so anyone with a cable could access them. The app also stored a secret key for OpenAI and an API that returned chat history without checking who was asking, so a person could guess device IDs and read other people's conversations.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.