SQL injection vulnerability in the Call Detail Record Postgres logging engine (cdr_pgsql) in Asterisk 1.4.x before 1.4.15, 1.2.x before 1.2.25, B.x before B.2.3.4, and C.x before C.1.0-beta6 allows remote authenticated users to execute arbitrary SQL commands via (1) ANI and (2) DNIS arguments.
https://exchange.xforce.ibmcloud.com/vulnerabilities/38765
http://www.vupen.com/english/advisories/2007/4056
http://www.securityfocus.com/bid/26647
http://www.securityfocus.com/archive/1/484388/100/0/threaded
http://www.debian.org/security/2007/dsa-1417
http://securitytracker.com/id?1019020
http://security.gentoo.org/glsa/glsa-200804-13.xml
http://secunia.com/advisories/29782
http://secunia.com/advisories/29242
http://secunia.com/advisories/27892
http://secunia.com/advisories/27827
http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html