Skip to content
DoS Disclosed report Beginner

[api.tumblr.com] Denial of Service by cookies manipulation

The api.tumblr.com console auth endpoint's consumer_key and consumer_secret parameters could modify the oa-consumer_key and oa-consumer_secret cookies for tumblr.com. A victim who clicked a crafted link would have their API console broken until they cleared cookies, causing a denial of service.

fuzzme Follow

Originally disclosed on HackerOne

Medium 4.9 View original
  • Triaged in 38 hours
  • Fixed in 18 days
  • Paid in 18 days
  • Disclosed after 49 days

Hello

Summary:

I have found at api.tumblr.com two parameters consumer_key && consumer_secret allow to modify oa-consumer_key && oa_consumer_secret cookies values and property.

An attacker can send a malicious link to reset the cookies of api.tumblr.com, this lead to DOS. To trigger the DOS, the target/victim account need to click a malicious link.

To restore the account, the victim need to delete all cookies on api.tumblr.com.

Similar issues : https://hackerone.com/reports/583819

##Vulnerable Url

https://api.tumblr.com/console/auth?

##Vulnerable Paramater(s)

$_GET['consumer_key'];
$_GET['consumer_secret'];
$_POST['consumer_key'];
$_POST['consumer_secret'];

Steps To Reproduce:

  1. Login at https://www.tumblr.com/

  2. Go to https://www.tumblr.com/oauth/apps and create a random application

/!\ if the cookies "oa-consumer_key" && "oa_consumer_secret" already exist the attack doesn't work /!\

  1. After, create your application, click to this malicious following link
https://api.tumblr.com/console/auth?consumer_key=x;%20domain=tumblr.com;%20Max-Age=1000000000000000000000&consumer_secret=x;%20domain=tumblr.com;%20Max-Age=1000000000000000000000
  1. Go back to https://www.tumblr.com/oauth/apps and try to connect to api.tumblr.com by clicking in "Explore API".

You will be redirected to https://www.tumblr.com/oauth/authorize?oauth_token=*&source=console and click to authorize

  1. loggout and login at tumblr.com

  2. Try again to connect to your application

You can follow me in the video POC.

Thanks, good bye.

Impact

Denial of Service and cookies manipulation

Attachments

The original report as published on HackerOne, by fuzzme. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the console auth endpoint used user-supplied consumer_key and consumer_secret values to build Set-Cookie headers without validating or encoding them, allowing cookie injection.

Impact

The victim's API console access is broken until they delete all cookies on api.tumblr.com, a denial of service; the attack only works if the relevant cookies do not already exist.

What the attacker needed

Victim clicks a crafted link; victim has a Tumblr account; target cookies not already set

How it was found

  1. Log in to tumblr.com and create a random OAuth application, ensuring the oa-consumer_key and oa-consumer_secret cookies do not already exist.
  2. Visit the crafted console auth link containing the consumer_key and consumer_secret parameters.
  3. Return to the OAuth apps page and try to connect to api.tumblr.com via Explore API, then authorise.
  4. Log out and log back in to tumblr.com.
  5. Try to connect to the application again and observe the failure.

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 report has not been written yet. The Original tab links to the source.

Cookies are small pieces of data a website stores in your browser. Here the site let values in the web address change its cookies, so a link could plant a fake cookie that broke the victim's API console. The victim had to click the link, and could recover by deleting their cookies for the site.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by fuzzme

View all

10 more disclosed reports, best first.

More from Automattic

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.