Skip to content
Access control Write-up Intermediate

"Fk you Thomas" - ToyTalk bug bounty writeup

The ToyTalk Thomas app lacked authentication on its audio upload endpoint, allowing an attacker to send audio to any account by changing the account ID. Additionally, the device name was not sanitised in confirmation emails, enabling HTML injection for phishing.

Jahmel Harris Follow

Published on research.digitalinterruption.com

Jahmel Harris at Digital Interruption submitted two bugs to ToyTalk and was awarded $1750. As the issues have been resolved, he wanted to write about the vulnerabilities so other developers will take this type of attack into account when writing mobile applications.

Jahmel Harris, on research.digitalinterruption.com

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

Impact

An attacker could send obscene audio messages to any parent's account, and inject HTML into ToyTalk emails to phish parents, though the email attack required knowing the victim's email address and obtaining their account ID.

What the attacker needed

Know victim's email address; obtain victim's account ID; client certificate for API access

The fix

The audio vulnerability was fixed by requiring the correct Device ID along with the account ID; the email injection was fixed by sanitising the device name input.

How it was found

  1. Intercept the audio upload POST request.
  2. Change the account ID parameter to a victim's account ID.
  3. Send the modified request to deliver audio to the victim's account.

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 report describes two security holes in a children's toy app. First, the app let anyone send voice recordings to any user's account without proving they owned that account, so a stranger could send inappropriate audio to a child. Second, when the app sent a confirmation email, it included the device name without cleaning it, so an attacker could insert clickable links or fake messages into an email that looked like it came from the company.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.