HexBrain

Informatica · Report #1379158

Reflected Cross-Site Scripting/HTML Injection

Validstatus
lowseverity
3upvotes
17 Dec 2021disclosed

Summary

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

How it was found

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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original