Skip to content
XSS Disclosed report Beginner

Reflected Cross-Site Scripting/HTML Injection

The redirect page reflected the 'url' parameter without sanitisation, allowing script execution in the browser. An attacker could use this to run JavaScript in an internal user's context, proxy traffic, or redirect VPN endpoints to a phishing site to capture credentials.

jak0_ Follow

Originally disclosed on HackerOne

  • Triaged in 6 hours
  • Fixed in 47 days
  • Disclosed after 55 days

Summary by the program

Researcher identified a mechanism to establish reflected cross site scripting in an external web application. The feature was disabled.

The report

The default ASP page at https://███/redirect/default.asp is vulnerable to reflected Cross-Site Scripting in the "url" parameter. To reproduce the issue just visit the following URL and an alert should pop up:

  • https://██████████/redirect/?url=%3Cscript%3Ealert(document.domain)%3C/script%3E

It seems that the redirects subdomain is used to forward users to internal resources, so this vulnerability could be used to execute JavaScript in the context of an internal user and use the browser as a proxy or steal credentials for internal resources.

In a practical attack scenario, the XSS payload could change the location of the following VPN endpoints to a phishing site and capture VPN credentials:

  • https://██████████
  • https://██████
  • https://███

Impact

This vulnerability could be used practically in phishing attacks to proxy traffic through internal users' browsers and ultimately lead to internal credential leaks.

The original report as published on HackerOne, by jak0_. 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 'url' parameter was reflected into the HTML response without output encoding or validation.

Impact

The vulnerability could be used in phishing to proxy traffic through internal users' browsers and lead to internal credential leaks; the feature was disabled.

What the attacker needed

Victim clicks a crafted link; internal user context

The fix

The feature was disabled.

How it was found

  1. Visit the redirect page with a crafted 'url' parameter containing a script.
  2. Observe the script executing in the browser.

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.

A web page took a value from the address bar and put it straight into the page without cleaning it. That let an attacker make the browser run their own code when a victim opened a crafted link. Because the page was used by internal staff, the attacker could then act as the victim inside the company network.

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 Informatica

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.