Skip to content
XSS Disclosed report Intermediate

[intensedebate.com] XSS Reflected POST-Based on update/tumblr2/{$id}

A reflected cross-site scripting vulnerability exists in the 'txtCode' parameter of the update/tumblr2 endpoint because user input is not sanitised. An attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to phishing or other attacks.

fuzzme Follow

Originally disclosed on HackerOne

Medium 4.8 View original
  • Triaged in 16 days
  • Fixed in 32 days
  • Paid in 32 days
  • Disclosed after 2 months

##Summary: Hello, I have found an XSS Reflected POST-Based on https://www.intensedebate.com/update/tumblr2/{$id}. The parameter $_POST['txtCode'] is reflected and is not sanitized.

To trigger the XSS an attacker need to create a site and invite the victim in their own site and give then full permissions, because the victim needs the reinstall functionality to trigger the XSS and the attacker need to know the id of /update/tumblr2/{$id}.

Vulnerable(s) URL:

POST /update/tumblr2/{$id}

Vulnerable(s) Parameter(s):

$_POST['txtCode'];

Payload :

</teXtarEa/</scRipt/--!>\x3csVg/<sVg/oNloAd=prompt(document.cookie)//>\x3e

##Steps to reproduce

You need two account

  1. Login at intensedebate.com
  2. Create your own site at intensedebate.com/install, and follow the instructions (use generic install)
  3. Invite the victim account on your own site, and give then the full permissions
  4. Setup the XSS POC, download the xss.html and open it with a text editor and change the {id} by own site id
  5. Login in the second account, and open the xss.html
  6. And you will see the XSS pop-up

You can also follow me into the video POC.

Thank you, good bye.

Impact

A attacker can perform a phishing attack or perform a CORS attack

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 perform a phishing attack or a CORS attack.

What the attacker needed

Attacker has an account; victim has an account; attacker creates a site and invites victim; victim grants full permissions

How it was found

  1. Log in to intensedebate.com.
  2. Create a site at intensedebate.com/install using the generic install option.
  3. Invite the victim account to the site and grant full permissions.
  4. Prepare an HTML proof-of-concept file, replacing the site ID placeholder with the attacker's site ID.
  5. Log in as the victim and open the prepared HTML file.
  6. Observe the XSS pop-up.

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.

Cross-site scripting (XSS) is a flaw where a website displays user input without cleaning it, allowing an attacker to inject malicious code that runs in a victim's browser. Here, an input field was not sanitised, so an attacker could craft a request that, when opened by a logged-in victim, would execute code and could enable phishing or CORS attacks.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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 scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.