Skip to content
Info disclosure Write-up Beginner

Improper Input Validation | Add Custom Text and URLs In SMS send by Snapchat | Bug Bounty POC

Improper input validation let an attacker add custom text and URLs to the SMS sent by Snapchat.

Muhammad Khizer Javed Follow

Published on blog.securitybreached.org

Bounty$1,000 View original

I decided to test that and i put my phone num there and clicked Send Link a HTTP POST request was made to a URL on app.snapchat.com

Muhammad Khizer Javed (@khizer_javed47), on blog.securitybreached.org

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 application reflected the user-supplied 'cid' parameter directly into the SMS content without validation or sanitisation.

What the attacker needed

Access to the Snapchat website

How it was found

  1. Use the Snapchat website feature that sends an SMS.
  2. Submit the request that sends the SMS.
  3. Add custom text and a URL to the input.
  4. Submit the modified request and observe the SMS containing the injected text and URL.

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.

When you enter your phone number to get a text, the site put part of the request into the message without checking it, so someone could add their own words and links.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Muhammad Khizer Javed

View all

21 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.