Asterisk CDR (Call Detail Record) Postgres SQL Injection

Source: snapvoip.blogspot.com

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

Published on December 1st, 2007 under ,


Last 20 posts tagged "secunia"

Asterisk Postgres Realtime Engine SQL Injection

Source: snapvoip.blogspot.com

A vulnerability has been reported in Asterisk, which can be exploited by malicious people to conduct SQL injection attacks.
Input passed as lookup data to the Postgres Realtime Engine is not…

Published on December 1st, 2007 under ,

Asterisk CDR (Call Detail Record) Postgres SQL Injection

Source: snapvoip.blogspot.com

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…

Published on December 1st, 2007 under ,
Member of "Hype Media! Network"