[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.
- 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
- Login at
intensedebate.com - Create your own site at
intensedebate.com/install, and follow the instructions (use generic install) - Invite the victim account on your own site, and give then the full permissions
- Setup the XSS POC, download the xss.html and open it with a text editor and change the
{id}by own site id - Login in the second account, and open the xss.html
- 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
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
- Log in to intensedebate.com.
- Create a site at intensedebate.com/install using the generic install option.
- Invite the victim account to the site and grant full permissions.
- Prepare an HTML proof-of-concept file, replacing the site ID placeholder with the attacker's site ID.
- Log in as the victim and open the prepared HTML file.
- 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.