Smart male chastity lock cock-up
The Qiui Cellmate smart chastity lock's API was unauthenticated and used predictable identifiers, allowing anyone to retrieve sensitive user data and remotely lock all devices. Attackers could permanently lock users in the device, requiring an angle grinder to escape, and also leak location and plaintext passwords.
pentestpartners.com
Published on pentestpartners.com
We haven’t written about smart adult toys in a long time, but the Qiui Cellmate chastity cage was simply too interesting to pass by. We were tipped off about the adult chastity device, designed to lock-up the wearer’s appendage.
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 API endpoints lacked authentication and relied on guessable identifiers (a short friend code and a date-based member code) to authorise requests.
Impact
Attackers could remotely and permanently lock users in the device, and sensitive personal data including location and plaintext passwords was leaked without authentication; the report notes that some issues were later resolved in a v2 API but v1 remained available.
What the attacker needed
Knowledge of a friend code or memberCode; network access to the API
The fix
The API should require authentication and authorisation for all requests, and the insecure v1 API should be retired; the report states that the mobile and API issues have now been resolved.
How it was found
- Use a six-digit friend code to query the API and retrieve a user's personal data, including their memberCode.
- Use the memberCode to list all devices associated with that user.
- Check the user's permissions over a device via the wear endpoint.
- Send a binding request to change the device binding, locking the user out or in.
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.
This is a report about a Bluetooth-enabled chastity lock controlled by a phone app. The app's online service (API) did not properly check who was making requests, so anyone could look up other users' private details and even lock their devices remotely. That could trap someone in the device with no normal way to unlock it.
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.