Rss Feed

Asterisk CIDR Host Access Rules Security Bypass Vulnerability

Vulnerable Products

Asterisk Open Source 1.6.x.
RedHat Fedora 11

Official Information

http://downloads.asterisk.org/pub/security/AST-2010-003.html 

Impact

Successful exploitation of this vulnerability may allow a remote attacker to bypass certain security restrictions like Access Control List (ACL) rules and access services from unauthorized host. This may lead to further attacks. This vulnerability is patchable.

Risk level

Medium

Vector

External

Details

Asterisk could allow a remote attacker to bypass security restrictions, caused by an error related to unpredictable behavior when host access rules are using “permit=” and “deny=” while the CIDR (Classless Inter-Domain Routing) notation “/0″ is used which causes an improper arithmetic shift and might allow remote attackers to bypass ACL rules and access services from unauthorized hosts. This is a error in “main/acl.c” function. An attacker could exploit this vulnerability to bypass access controls to gain unauthorized access to restricted hosts.

This vulnerability is documented in CVE-2010-1224

Fixed Software

This issue has been corrected in Asterisk Open Source version 1.6.0.25, 1.6.1.17 or 1.6.2.5 and updates are available in http://downloads.asterisk.org/.

 In addition, they are available patches to fix this vulnerability.

Affected product Patch
Asterisk Open Source 1.6.0.x http://downloads.asterisk.org/pub/security/AST-2010-003-1.6.0.diff
Asterisk Open Source 1.6.1.x http://downloads.asterisk.org/pub/security/AST-2010-003-1.6.1.diff
Asterisk Open Source 1.6.2.x http://downloads.asterisk.org/pub/security/AST-2010-003-1.6.2.diff

Note that even if an unauthorized host is allowed access due to this exploit, authentication measures still in place would prevent further unauthorized access.

Also, there is a workaround for this problem, which is to use the dotted-decimal format “/0.0.0.0″ instead of CIDR notation. The bug does not exist when using this format. In addition, this format is what is used in Asterisk’s sample configuration files.

Remediation

For comprehensive secure communications and collaboration protection with full stateful firewall inspection, a UC gateway appliance such as from Redshift is the right approach. 

Redshift Networks UCTM solution includes ACL protection and role based control access that can protect your critical IP- Voice, Video, Unified Communications & Collaborative networks and applications. For more information on RedShift Networks, please go to www.redshiftnetworks.com


Asterisk T.38 Negotiation Remote Denial of Service Vulnerability

Vulnerable Products

Asterisk Open Source 1.6.x.
Asterisk Business Edition C.3.x
RedHat Fedora 11 and 12

Official Information

http://downloads.asterisk.org/pub/security/AST-2010-001.pdf

Impact

Successful exploitation of this vulnerability could allow a remote attacker to cause a Denial of Service (DoS) condition on the affected device, denying service to legitimate users.  This vulnerability is patchable. 

Risk level

High

Vector

External

Details

A vulnerability has been reported in Asterisk, which can be exploited by malicious people to cause a DoS (Denial of Service). The vulnerability is caused due to an error when handling T.38 negotiations over SIP. This issue can be exploited by sending a specially crafted SDP packet containing a “FaxMaxDatagram” field with (1) a negative number or (2) overly-large value, or (3) a SDP packet without a “FaxMaxDatagram” field. Successful exploitation of this vulnerability may cause that a vulnerable server to crash, creating a denial of service condition.

This vulnerability is documented in CVE-2010-0441.

Fixed Software

Update to the latest versions or apply patches are available.

Upgrade to Asterisk Open Source version 1.6.0.22, 1.6.1.14 or 1.6.2.2 : ftp://ftp.digium.com/pub/telephony/asterisk

Upgrade to Asterisk Business Edition version C.3.3.2 : http://downloads.digium.com/

Affected product Patch
Asterisk Open Source 1.6.0.x http://downloads.asterisk.org/pub/security/AST-2010-001-1.6.0.diff
Asterisk Open Source 1.6.1.x http://downloads.asterisk.org/pub/security/AST-2010-001-1.6.1.diff
Asterisk Open Source 1.6.2.x http://downloads.asterisk.org/pub/security/AST-2010-001-1.6.2.diff

Remediation

For comprehensive secure communications and collaboration protection with full stateful firewall inspection, a UC gateway appliance such as from Redshift is the right approach. 

RedShift Networks UCTM solution protects the entire SIP infrastructure, giving to all the critical VoIP, UC and Video infrastructure within your network the most advanced security countermeasure, visibility, control and protection. For more information on RedShift Networks, please go to www.redshiftnetworks.com.

Asterisk Dialplan Wildcard Pattern String injection vulnerability

Vulnerable Products

 Asterisk Open Source 1.2.x, 1.4.x and 1.6.x.
Asterisk Business Edition B.x.x  and C.x.x.

 Official Information

 http://downloads.asterisk.org/pub/security/AST-2010-002.html

 Impact

Successful exploitation of this vulnerability may allow a remote attacker execute unintended calls and modify data through injecting arbitrary data into Dialplans. This may lead to further attacks. This vulnerability is patchable.

Risk level

High

Vector

External

Details

A possible string injection vulnerability has been identified in Asterisk, which could be exploited by remote attackers to bypass security restrictions. This issue is caused by an error when the ${EXTEN} channel variable in a Dialplan is used with wildcard patterns, allowing context-dependent attackers to inject strings into the Dialplan using metacharacters that are injected when the variable is expanded. A remote attacker could exploit this vulnerability using a specially-crafted SIP INVITE message to create an additional outgoing channel leg that was not originally intentioned by the Dialplan programmer.

This issue is not limited to an specific protocolo r the Dial() application , protocols such as SIP, Jabber/XMPP or IAX2 are also susceptible to the same sort of injection problem.

NOTE: It could be argued that this is not a vulnerability in Asterisk, but a class of vulnerabilities that can occur in any program that uses this feature without the associated filtering functionality that is already available.

This vulnerability is documented in CVE-2010-0685.

Fixed Software

Best practices have been recommended by Asterisk to mitigate this vulnerability and minimize possible security breaches.

  • Stricter pattern Matching
  • Using the FILTER() and REGEX() dialplan functions.

The immediate solution is to wrap the ${EXTEN} channel variable with the FILTER() dialplan function to only accept characters which are expected by the Dialplan programmer. The recommendation is for this to be the first priority in all contexts defined as incoming contexts in the channel driver configuration files.

For see best practices documentation, please go to :
http://svn.asterisk.org/svn/asterisk/branches/1.2/README-SERIOUSLY.bestpractices.txt

Asterisk 1.2.40 has also been released with a backport of the FILTER() Dialplan function from 1.4 in order to provide the tools required to resolve this issue in Dialplan.

 Remediation

For comprehensive secure communications and collaboration protection with full stateful firewall inspection, a UC gateway appliance such as from Redshift is the right approach. 

RedShift Networks UCTM solution protects the entire SIP infrastructure, giving to all the critical VoIP, UC and Video infrastructure within your network the most advanced security countermeasure, visibility, control and protection. For more information on RedShift Networks, please go to www.redshiftnetworks.com.


Asterisk IAX2 Authentication Response Remote Information Disclosure Vulnerability

Vulnerable Products

RedHat Fedora 9 and 10
Gentoo Linux
Debian Linux 5.0 [sparc, s/390, powerpc, mipsel, mips, m68k ia-64/32, hppa, armel, arm, amd64, alpha]
Asterisk s800i Appliance 1.2.x All versions prior to 1.3.1
Asterisk Open Source 1.2.x, All version prior to 1.2.3.1
Asterisk Open Source 1.4.x All versions prior to 1.4.25.1
Asterisk Open Source 1.6.x All versions prior to 1.6.1.1
Asterisk Business Edition A.x.x  
Asterisk Business Edition B.x.x  All versions prior to B.2.5.7
Asterisk Business Edition C.1.x  All versions prior to C.1.10.4
Asterisk Business Edition C.2.x  All versions prior to C.2.1.2.1

Official Information

http://downloads.asterisk.org/pub/security/AST-2009-001.pdf

Impact

Successful exploitation of this vulnerability could allow remote attackers discover whether specific usernames exist and obtain potentially sensitive information. This may aid them in further attacks. This vulnerability is non-patchable.

Risk level

Medium

Vector

External

Details

Asterisk is prone to an information-disclosure vulnerability because it doesn’t provide safe responses to failed authentication attempts, which could be exploited by attackers to gain knowledge of sensitive information. This issue is caused due to the platform sending different responses to valid and invalid usernames supplied during IAX2 authentication.

The problem is that different responses are returned depending on whether a login attempt is performed with an invalid user name as opposed to when only the password incorrect, which allows remote attackers to enumerate valid usernames. This weakness could be exploited by remote unauthenticated attackers to determine if a guessed username is valid, facilitating brute-force attacks.

This vulnerability is documented in CVE-2009-0041.

Fixed Software

This issue has been corrected in the latest versions. This Updates  are available in http://downloads.asterisk.org/.

 

Affected product Release
Asterisk Open Source 1.2.x 1.2.33
Asterisk Open Source 1.4.x 1.4.25.1
Asterisk Open Source 1.6.0.x 1.6.0.10
Asterisk Open Source 1.6.1.x 1.6.1.1
Asterisk Business Edition B.x.x B2.5.7
Asterisk Business Edition C.1.x C.1.10.4
Asterisk Business Edition C.2.x C.2.1.2.1
Asterisk appliance S800i 1.2x 1.3.1

In addition, There are available patche to fix this vulnerability.

Affected product Patch
Asterisk Open Source 1.2.x http://downloads.asterisk.org/pub/security/AST-2009-001-1.2.patch
Asterisk Open Source 1.4.x http://downloads.asterisk.org/pub/security/AST-2009-001-1.4.patch
Asterisk Open Source 1.6.0.x http://downloads.asterisk.org/pub/security/AST-2009-001-1.6.0.patch
Asterisk Open Source 1.6.1.x http://downloads.asterisk.org/pub/security/AST-2009-001-1.6.1.patch

Remediation

For comprehensive secure communications and collaboration protection with full stateful firewall inspection, a UC gateway appliance such as from Redshift is the right approach. 

Redshift Networks UCTM solution provides comprehensive 0-day protection for critical IP- Voice, Video, Unified Communications & Collaborative networks and applications. For more information on RedShift Networks, please go to www.redshiftnetworks.com


Asterisk RTP Text Frames Processing Remote Denial of Service Vulnerability

Vulnerable Products

Asterisk Open Source
RedHat Fedora 11

Official Information

http://downloads.asterisk.org/pub/security/AST-2009-004.pdf

Impact

Successful exploitation of this vulnerability may allow a remote attacker to cause the target service to crash. resulting in Denial of Service conditions for legitimate users. This vulnerability is patchable.

Risk level

Medium

Vector

External

Details

Asterisk is vulnerable to a denial of service, caused by an error when processing RTP text frames. By sending specially-crafted RTP text frames without a certain delimiter, which triggers a NULL pointer dereference and the subsequent calculation of an invalid pointer. This is a error in main/rtp.c function. A remote attacker could exploit this vulnerability to cause the service to crash but he cannot execute arbitrary remote code with this exploit.

This vulnerability is documented in CVE-2009-2651.

Fixed Software

This issue has been corrected in Asterisk Open Source version 1.6.1.2 and updates are available in http://downloads.asterisk.org/.

 In addition, There is available patche to fix this vulnerability.

Affected product Patch
Asterisk Open Source 1.6.1.x http://downloads.digium.com/pub/security/AST-2009-004-1.6.1.diff.txt

 Remediation

For comprehensive secure communications and collaboration protection with full stateful firewall inspection, a UC gateway appliance such as from Redshift is the right approach. 

RedShift Networks UCTM solution provides comprehensive 0-day protection for critical IP- Voice, Video, Unified Communications & Collaborative networks and applications. For more information on RedShift Networks, please go to www.redshiftnetworks.com

Leave a Comment more...

« Older Entries
  • Calendar

    September 2010
    M T W T F S S
    « Aug    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Copyright © 1996-2010 . All rights reserved.
    iDream theme by Templates Next | Powered by WordPress