Lucene search
K

Google Chrome 31.0 Webkit Auditor Bypass

🗓️ 24 Sep 2013 00:00:00Reported by Rafay BalochType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 15 Views

Google Chrome Webkit XSS Auditor Bypass in Version 31.

Code
`# Title: Chrome 31.0 Webkit XSS Auditor Bypass  
# Product: Google Chrome  
# Author: Rafay Baloch @rafaybaloch And PEPE Vila  
  
  
============  
Description  
============  
  
Chrome XSS Auditor is a client side XSS filter used by google chrome  
to protect against XSS attacks. Chrome XSS filter has already been beaten  
a lot of times and there still exists lots of contexts where it fails.  
  
============  
Vulnerability  
============  
  
The vulnerability lies in the way people escape certain characters, while  
replacing certain characters with characters  
that would still yeild a valid javascript syntax. For instance, stripping  
out Single quotes, Double quotes etc with - would yield a valid javascript  
syntax and since the response won't match the output parameter.  
  
================  
Proof of concept  
================  
  
The following is a challenge setup by a gentle man with a nick "Strong boi":  
  
http://12342.site11.com/level2.php  
  
The expected solution was to use a well known unfixed bug in chrome and  
using both parameters a and b to execute the javascript. However, we  
noticed a different behaviour, when we injected an apostrophe. It was being  
converted to - and hence yielding a valid syntax and executing the  
javascript. So, this would work whenever the server side application  
would try replacing special characters to - or anything similar that  
would make the syntax valid.  
  
http://12342.site11.com/level2.php?a=%22%3E%3Cscript%3E'alert(0);%3C/script%3E  
  
Output Source:  
  
First search:<input type="text" name="a"  
value="<script>1-alert(0);</script>"/><br>  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

24 Sep 2013 00:00Current
0.1Low risk
Vulners AI Score0.1
15