Asterisk CDR (Call Detail Record) Postgres SQL Injection
A vulnerability has been reported in Asterisk and Asterisk Business Edition, which can be exploited by malicious users to conduct SQL injection attacks.
Input passed as ANI and DNIS strings to the Call Detail Record Postgres logging engine is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires valid user credentials and that the module is configured and used.
The vulnerability is reported in all Asterisk 1.0.x versions, all Asterisk 1.2.x versions before 1.2.25, all Asterisk 1.4.x versions before 1.4.15, all Asterisk Business Edition A.x.x versions, and in all Asterisk Business Edition B.x.x.x versions before B.2.3.4.
Solution:
Update to Asterisk 1.2.25, Asterisk 1.4.15, or Asterisk Business Edition B.2.3.4.
Use the PgsqlODBC driver instead of the vulnerable module.
Provided and/or discovered by:
Tilghman Lesher
Original Advisory:
AST-2007-026:
http://downloads.digium.com/pub/security/AST-2007-026.html
secunia
0 comments:
Post a Comment