Skip to content
XSS Disclosed report Beginner

Reflected XSS of media.indrive.com

A reflected cross-site scripting flaw existed on a media subdomain, where a crafted URL caused JavaScript to run in the victim's browser. An attacker could use this to act as the victim, read cookies and session data, or alter page content.

zxwo Follow

Originally disclosed on HackerOne

  • Triaged in 2 hours
  • Fixed in 50 days
  • Paid in 21 days
  • Disclosed after 50 days

Summary by the program

The report

hi, I find a rxss of media.indrive.com just view:

https://media.indrive.com/login/response/██████

will execute javascript. ████

Impact

1.Stealing user accounts: Malicious users can use XSS code to obtain various user accounts, including email accounts, social media accounts, etc. Stealing user cookie information: XSS attacks can steal the cookie information stored by the user in the browser, thereby posing as the user identity to enter the website. 2.Hijacking the user session: Attackers can use XSS code to hijack the user's browser session and perform arbitrary operations, such as making illegal transfers, forced publishing logs, sending emails, etc. Spreading worms and viruses: XSS attacks can inject malicious code to make the user's browser perform malicious operations, and even spread worms and viruses. 3.Forced pop-up advertising pages: Malicious users can use XSS code to forcefully pop up advertising pages, thereby gaining traffic or performing other malicious operations. 4.Altering page information: XSS attacks can arbitrarily alter page information, including deleting articles. Obtaining client information: XSS attacks can obtain client information, such as the user's browsing history, real IP, open ports, etc. Controlling the victim's machine to attack other websites: Malicious users can use XSS code to control the victim's machine and then launch attacks on other websites. Elevating user permissions: XSS attacks can use other vulnerabilities to expand attacks and even elevate user permissions, including further penetrating the website.

The original report as published on HackerOne, by zxwo. 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 application reflected user-controlled input from the URL into the page without proper encoding or sanitisation.

Impact

An attacker could run script in a victim's browser to steal cookies and session data, act as the user, or alter page content, though the report gives no proof beyond the script executing.

What the attacker needed

Victim opens a crafted link

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 when a website takes something from the address you visit and puts it into the page without cleaning it, so an attacker can slip in their own instructions. Here the site ran those instructions as code in the visitor's browser. That lets an attacker do things as the logged-in user, such as read their session or change what the page shows.

What is XSS?

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

More from inDrive

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.