Skip to content
CSRF Disclosed report Beginner

[tumblr.com] CSRF in /svc/user/filtered_content

The Tumblr endpoint for adding filtered content did not validate the custom CSRF header, so a malicious page could submit a form on behalf of a logged-in user. An attacker could add arbitrary filtered content to a victim's account.

fuzzme Follow

Originally disclosed on HackerOne

  • Triaged in 30 days
  • Fixed in 39 days
  • Paid in 39 days
  • Disclosed after 2 months

Summary:

Hello, I have found a Cross-site request forgery in ``https://tumblr.com/svc/user/filtered_content``` allow an attacker to add filtered content to a target/victim account.

The custom HTTP Header X-tumblr-form-key used for the protection CSRF is not validate.

Steps To Reproduce:

  1. Logging into your Tumblr account in your current navigator .
  2. Open the poc.html or manually copy this following code in an html file and open this in your current navigator and click to Submit request.
HTML

<html>

  <!-- CSRF PoC - generated by Burp Suite Professional -->

  <body>

  <script>history.pushState('', '', '/')</script>

    <form action="https://www.tumblr.com/svc/user/filtered_content" method="POST">

      <input type="hidden" name="filtered&#95;content" value="pwd777" />

      <input type="submit" value="Submit request" />

    </form>

  </body>

</html>
  1. Go to https://www.tumblr.com/settings/account and you will see the keyword pwd777 in your filtered content .

/!\ You can't add a same filtered content this will generate a 400 HTTP Response code /!\

You can follow me in the video POC.

Thanks, good bye.

Impact

Allow a attacker add filtered content to a target/victim account.

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

Impact

An attacker could add filtered content to a victim's account, but only if the victim was logged in and visited the attacker's page.

What the attacker needed

Victim is logged in to Tumblr; victim visits attacker-controlled page

How it was found

  1. Log in to Tumblr in the browser.
  2. Open a local HTML page containing a form that posts to the filtered content endpoint, then submit it.
  3. Check the account settings page to see the new filtered content.

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.

Websites often rely on a secret token in a request to prove it came from their own pages, not from another site. Here that check was missing, so a page on another site could make the victim's browser send the request. The attacker only needed the victim to visit a page while logged in.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

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.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.