Asterisk2Billing v1.9.4 - Blind SQL Injection Vulnerability

2011-08-16T00:00:00
ID VULNERLAB:250
Type vulnerlab
Reporter Vulnerability Research Laboratory
Modified 2011-08-16T00:00:00

Description

                                        
                                            Document Title:
===============
Asterisk2Billing v1.9.4 - Blind SQL Injection Vulnerability



Release Date:
=============
2011-08-16


Vulnerability Laboratory ID (VL-ID):
====================================
250


Product & Service Introduction:
===============================
Asterisk ist eine freie Software, die alle Funktionalitäten einer herkömmlichen Telefonanlage abdeckt. Asterisk unterstützt 
Voice-over-IP (VoIP) mit unterschiedlichen Protokollen und kann mittels relativ günstiger Hardware mit Anschlüssen wie POTS 
(analoger Telefonanschluss), ISDN-Basisanschluss (BRI) oder -Primärmultiplexanschluss (PRI, E1 oder T1) verbunden werden. 
Durch die umfangreiche Anzahl von unterstützten Protokollen und Schnittstellen ist Asterisk für öffentliche Telefonanbieter 
und Callcenter genauso geeignet wie für den Privathaushalt. Viele VoIP-Provider sind mittels Asterisk aufgebaut. Durch die 
Skripting-Möglichkeiten in Asterisk lässt sich die Telefonanlage nahezu beliebig konfigurieren und erweitern.

The A2Billing solution comprises of the following components: -

    * Server: The computer to run the system.
    * Line Interface Cards: The Digium hardware (optional)to connect to the TDM network (PRI, BRI, Analogue)
    * Linux: The base operating system
    * Asterisk: The telephony engine
    * Apache: The web server
    * MySQL/Postgresql: The back end database
    * A2Billing: The Billing engine handling Authentication, Authorisation and Accounting. 

A2Billing is included in several stable linux distributions & is most famous phone system.

(Copy of the Vendor Homepage: http://de.wikipedia.org/wiki/Asterisk_(Telefonanlage))


Abstract Advisory Information:
==============================
The Vulnerability-Lab Team discovered  blind SQL Injection vulnerability on the Asterisk 2 Billing  web application.


Vulnerability Disclosure Timeline:
==================================
2011-08-12: Discovery by Vulnerability-Lab


Discovery Status:
=================
Published


Affected Product(s):
====================

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


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


Technical Details & Description:
================================
A blind SQl injection vulnerability is detected on Asterisk2Billing Application. Remote Attackers & privileged 
user accounts can inject/execute blind own sql statements to compromise the application dbms.

Vulnerable Module(s):
								[+] entity_payment_settings  - ID


Proof of Concept (PoC):
=======================
The bild SQL Injection vulnerability can be exploited by remote attackers or local privileged user accounts.
For demonstration or reproduce ...

Path:		A2B/Public/
File:		A2B_entity_payment_settings.php
Para:		?method=plugnpay&id=[SQL-Injection]&result=success


Security Risk:
==============
The security risk of the blind sql injection vulnerability is estimated as high


Credits & Authors:
==================
Vulnerability Research Laboratory


Disclaimer & Information:
=========================
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