exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Minify 2.1.3 Cross Site Scripting

Minify 2.1.3 Cross Site Scripting
Posted Mar 21, 2012
Authored by Ayoub Aboukir

Minify versions 2.1.3 and 2.1.4-Beta suffer from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | dde8807eda13d801c3fb76f0e068de308ad81fb83bad0e3eb929e084e6b943dc

Minify 2.1.3 Cross Site Scripting

Change Mirror Download
+-------------------------------------------------------------------------------------------+
# Title : Minify and related plugins DOM-Based XSS Vulnerability
# Version : 2.1.3 & 2.1.4-Beta
# Credit : Ayoub Aboukir, Independent Security Researcher
# Contact : <ay.aboukir at gmail d0t com>
# Software Link : http://code.google.com/p/minify/
# Release note: https://groups.google.com/group/minify/browse_thread/thread/48c1d1cf2642f79
# Date of found : 03/01/2012
# Date of report : 03/03/2012
# Developer response: 03/03/2012
# Upgrade release : 03/10/2012
# Disclosure date : 03/21/2012
+-------------------------------------------------------------------------------------------+
-------------------------------
+---+[About the software]+---+
-------------------------------
It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments,
and serves them with gzip encoding and optimal client-side cache headers.
Minify integrated into other Projects/Plugins
* WordPress: WP-Minify
* WordPress: W3 Total Cache
* Zend Framework: View helpers for links/scripts
* Symfony: sfMinifyPlugin
* Moodle: minify
* Yii: minscript Extension
-----------------------------
+---+[About the exploit]+---+
-----------------------------
DOM Based XSS (or as it is called in some texts, “type-0 XSS”) is an XSS attack wherein the attack
payload is executed as a result of modifying the DOM “environment” in the victim’s browser used
by the original client side script, so that the client side code runs in an “unexpected” manner.
That is, the page itself (the HTTP response that is) does not change, but the client side code
contained in the page executes differently due to the malicious modifications that have occurred
in the DOM environment.
------------------------------
+---+[Proof of Concept: ]+---+
------------------------------
A specially formed URL could cause a user's web browser to run arbitrary Javascript on a
domain where the Minify Builder application is accessible. If a host serves the "Minify
URI Builder" application at http://example.org/min/builder/, the host is vulnerable

By adding "#g=<script>alert("XSSed ");</script>" after /min/builder/ the attacker can
execute an arbitrary code, in this case it's the classical alert box.
Example: http://localhost/min/builder/#g=<script>alert(document.cookie)</script>
This shows the current sessions cookies which might be sent to third parties' attacker pages.
------------------------
+---+[ Greetz to ]+---+
------------------------
Yasser & Yassin Aboukir
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
    0 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 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