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 //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 First Name * <[PERSISTENT SCRIPT CODE INJECTION])' <"="" class="loginfileld" size="20" name="first_name"> Review: Agents > Add Agents > Business Phone Business Phone