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.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: Asterisk Call Detail Record Postgres SQL Injection
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.