Important security advisory for Asterisk :: Dialstring injections
Saturday 13th February 2010 - 23:39Hans Petter Selasky alerted the Asterisk developer community about a potential harmful pattern in Asterisk dialplans on February 9th. His example is as follows:
[from_sip]exten => _X.,1,Dial(SIP/${EXTEN}@testsip)
He writes: “And if ${EXTEN} = “000@testsip&SIP/333” what turns out to happen then is similar to SQL injection
”He is exactly right. Many VoIP protocols, including IAX2 and SIP, has a very large allowed character set in the dialed extension, a character set that allows characters that are used as separators to the dial() and the queue() applications, as well as within the dialstring that these applications send to the channel drivers in Asterisk. A user can change the dial options and dial something we should not be able to dial in your system. This article describes the issue in more detail and gives you some help on how to avoid this causing trouble in your Asterisk server. (more…)
© Edvina AB, Sollentuna, Sweden 2010 VoIP-Forum. All Rights Reserved.
.- Share
-
-
-
-
-
-
Send to a friend
-
more...
- | Post a Comment






