Skip to content
XSS Disclosed report Beginner

XSS in IE11 on portswigger.net via Flash

Enguerran Gillier Follow

Originally disclosed on HackerOne

  • Triaged in 12 hours
  • Fixed in 20 hours
  • Paid in 20 hours
  • Disclosed after 16 days

Summary by the program

@opnsec found a forgotten unlinked Flash video player on portswigger.net that was vulnerable to XSS. Fortunately our use of CSP partially mitigated it, meaning it could only be used to exploit Internet Explorer users.

The report

Hello Portswigger Security Team,

There is a reflective XSS vulnerability in portswigger.net. The flash file https://portswigger.net/burp/tutorials/video-js/video-js.swf is from an old video.js library (version 3.2.0) which is vulnerable to XSS. This XSS will be blocked by CSP instruction object-src https://portswigger.net/knowledgebase/papers/; but it will execute on browsers that don't enforce this CSP like Internet Explorer 11.

POC link : https://portswigger.net/burp/tutorials/video-js/video-js.swf?readyFunction=alert%28document.domain%2b'%20XSSed!'%29

POC instructions :

  • Open the POC link in Internet Explorer 11 with flash active
  • The javascript payload executes in https://portswigger.net

(Tested on Windows 10)

Mitigation : To solve this issue, replace the old https://portswigger.net/burp/tutorials/video-js library with the updated video.js library from http://videojs.com/. It is also better to host any swf file on a sandbox subdomain.

Regards,

Enguerran @opnsec

Attachments

Portswigger_XSS.png
Portswigger_XSS.png From the original on HackerOne

The original report as published on HackerOne, by opnsec. 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 XSS bug in PortSwigger Web Security. HackerOne made it public on 30 November 2016.

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.

More by Enguerran Gillier

View all

8 more disclosed reports, best first.

More from PortSwigger Web Security

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.