Skip to content
XSS Disclosed report Beginner

DOM XSS at www.forescout.com in Microsoft Edge and IE Browser

enesdexh1 Follow

Originally disclosed on HackerOne

Medium 4.7 View original
  • Triaged in 3 hours
  • Fixed in 5 months
  • Paid in 5 months
  • Disclosed after 6 months

Summary:

I've found an DOM Based XSS on homepage

Steps To Reproduce:

1.Go to this url and you'll see alert pop https://www.forescout.com/#<img src=x onerror=alert('XSS')>

But this will work just on ME/IE browsers because chrome and firefox have default encode system hash url

And vulnerable code is on your directly source code within jquery code. As you can see there is no encode in ==window.location.hash== code so when we open the page with #<img src=x onerror=alert(1)> it executes code.

jQuery(window).load(function() { jQuery('a.fancybox-inline[href="' + window.location.hash + '"]:first').each(function() { jQuery(this).delay(700).trigger('click'); }); });

Supporting Material/References:

I have uploaded a picture to show you POC

Regards Enesdex

Impact

--Hacker can execute malicious codes in victim's browser --Hacker can redirect user to malicious website --Hacker can steal victim's cookies etc.

Attachments

DOM_XSS.PNG
DOM_XSS.PNG From the original on HackerOne

The original report as published on HackerOne, by enesdexh1. 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.

What is known

A medium-severity XSS bug in www.forescout.com, rated CVSS 4.7. HackerOne made it public on 7 April 2020.

About XSS

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is XSS?

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

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.