Document Title: =============== ASTPP VoIP Billing (4cf207a) - Multiple Web Vulnerabilities References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=687 Release Date: ============= 2012-08-16 Vulnerability Laboratory ID (VL-ID): ==================================== 687 Common Vulnerability Scoring System: ==================================== 4 Product & Service Introduction: =============================== ASTPP is a billing solution for Freeswitch and Asterisk. It supports pre-paid and post-paid billing with call rating and credit control. It also provides many other features such as calling cards, least cost routing (LCR), did management, resellers, callbacks, etc. ... Customer Account Features Reseller Support Call Rating Capabilities Least Cost & Failover Routing Credit Control DID Mapping Automated Account & Device Management Authentication Calling Cards Vendor Billing Asterisk -Real-time Support ASTPP is able to integrate with OSCommerce to provide a Web store for your users to purchase calling cards and sign up for VoIP accounts. We also support multiple currency for each account type with real-time update using Yahoo Finance (http://finance.yahoo.com/currency-converter). (Copy of the Vendor Homepage: http://www.astpp.org/ ) Abstract Advisory Information: ============================== The Vulnerability Laboratory Research Team discovered multiple persistent web vulnerabilities in the ASTPP VoIP (4cf207a) phone billing web application. Vulnerability Disclosure Timeline: ================================== 2011-08-17: Public Disclosure Discovery Status: ================= Published Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ Multiple persistent input validation vulnerabilities are detected in the ASTPP VoIP (4cf207a) phone billing web application. The web vulnerabilities allow remote attackers to implement/inject malicious script code on the application-side (persistent). The first persistent web vulnerability is located in the user management (admin) module with the bound vulnerable firstname, lastname & company parameters. The first vulnerability can easily be exploited by customers to execute script code out of the administrator user management module (backend). The customer can register with the malicious values or change the vulnerable values via update profile after successful registration with a non malicious user. The second and third vulnerabilities are located in the add dids and add trunks module with the bound vulnerable access number, note, trunk name, dialed number mods parameters. The 4th persistent vulnerability is located in the Taxes - Tax Information modules with the bound vulnerable priority & description application parameters. Successful exploitation of the vulnerabilities can lead to session hijacking (manager/admin) or stable (persistent) context manipulation. Exploitation requires low user inter action & low privileged web application user account. Vulnerable Module(s): [+] Account Management [+] DIDs - Add New Your Own DIDs [+] Trunks - Add Trunks [+] Taxes - Tax Information Vulnerable Parameter(s): [+] Firstname, Lastname & Company [+] Access Number & Note [+] Trunk Name, Dialed Number Mods - Actions [+] Priority & Description Affected Section(s): [+] Account Listing - Actions [+] DIDs - Edit Mask Listing [+] Trunks Listing (Management) [+] Tax - Edit Mask Listing Proof of Concept (PoC): ======================= The persistent vulnerabilities can be exploited by remote attacker with low privileged user account and with low required user inter action. For demonstration or reproduce ... Review: Account Management - User Account Listing