Reflected Xss bypass Content-Type: text/plain
Originally disclosed on HackerOne
- Disclosed after 12 hours
Hello Team:
1 - vulnerable subdomain : ci.cryptography.io 2 - after i tested this subdomain i found many payloads injected by me reflected but not executed 3 - so that i taked alook at the response and i found Content-Type: text/plain 4 - so i searched about bypass Content-Type: text/plain and i found this book cure53 page 73 tell me i can bypass it in IE browser before version 10
POC:
- go to https://ci.cryptography.io/adjuncts/20996283/hudsonyfm6u%3Cscript%3Ealert(document.domain)%3C/script%3Epub5j/plugins/favorite/assets.js
- you will see this

11.png From the original on HackerOne - so let's try to install IE version 9 to try xss popup
- this is you will see

xss.png From the original on HackerOne
something else ; what is the java files main ?!

Impact
this method can affect victims that uses the IE browser before version 10 .
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 *.cryptography.io. HackerOne made it public on 28 December 2018.
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.