what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | 1a04320110c70fb68d3701680cb02f2d67e96726a3c9acb59bc2023389354ab8

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
Login or Register to add favorites

File Archive:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close