what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Asterisk Project Security Advisory - AST-2012-014

Asterisk Project Security Advisory - AST-2012-014
Posted Jan 3, 2013
Authored by Mark Michelson | Site asterisk.org

Asterisk Project Security Advisory - Asterisk has several places where messages received over various network transports may be copied in a single stack allocation. In the case of TCP, since multiple packets in a stream may be concatenated together, this can lead to large allocations that overflow the stack. In the case of SIP, it is possible to do this before a session is established. Keep in mind that SIP over UDP is not affected by this vulnerability. With HTTP and XMPP, a session must first be established before the vulnerability may be exploited. The XMPP vulnerability exists both in the res_jabber.so module in Asterisk 1.8, 10, and 11 as well as the res_xmpp.so module in Asterisk 11.

tags | advisory, web, overflow, udp, tcp
advisories | CVE-2012-5976
SHA-256 | 0eda4a18f48435624a5845545ce7bded4867ce8731fbb4a94114a41619146e72

Asterisk Project Security Advisory - AST-2012-014

Change Mirror Download
               Asterisk Project Security Advisory - AST-2012-014

Product Asterisk
Summary Crashes due to large stack allocations when using
TCP
Nature of Advisory Stack Overflow
Susceptibility Remote Unauthenticated Sessions (SIP)

Remote Authenticated Sessions (XMPP, HTTP)
Severity Critical
Exploits Known No
Reported On 7 November, 2012
Reported By Walter Doekes
Posted On 2 January, 2013
Last Updated On January 2, 2013
Advisory Contact Mark Michelson <mmichelson AT digium DOT com>
CVE Name CVE-2012-5976

Description Asterisk has several places where messages received over
various network transports may be copied in a single stack
allocation. In the case of TCP, since multiple packets in a
stream may be concatenated together, this can lead to large
allocations that overflow the stack.

In the case of SIP, it is possible to do this before a
session is established. Keep in mind that SIP over UDP is
not affected by this vulnerability.

With HTTP and XMPP, a session must first be established
before the vulnerability may be exploited. The XMPP
vulnerability exists both in the res_jabber.so module in
Asterisk 1.8, 10, and 11 as well as the res_xmpp.so module
in Asterisk 11.

Resolution Stack allocations when using TCP have either been eliminated
in favor of heap allocations or have had an upper bound
placed on them to ensure that the stack will not overflow.

For SIP, the allocation now has an upper limit.

For HTTP, the allocation is now a heap allocation instead of
a stack allocation.

For XMPP, the allocation has been eliminated since it was
unnecessary.

Affected Versions
Product Release Series
Asterisk Open Source 1.8.x All versions
Asterisk Open Source 10.x All versions
Asterisk Open Source 11.x All versions
Certified Asterisk 1.8.11 SIP: unaffected

HTTP and XMPP: All versions
Asterisk Digiumphones 10.x-digiumphones All versions

Corrected In
Product Release
Asterisk Open Source 1.8.19.1, 10.11.1, 11.1.1
Certified Asterisk 1.8.11-cert10
Asterisk Digiumphones 10.11.1-digiumphones

Patches
SVN URL Revision
http://downloads.asterisk.org/pub/security/AST-2012-014-1.8.diff Asterisk
1.8
http://downloads.asterisk.org/pub/security/AST-2012-014-10.diff Asterisk
10
http://downloads.asterisk.org/pub/security/AST-2012-014-11.diff Asterisk
11

Links https://issues.asterisk.org/jira/browse/ASTERISK-20658

Asterisk Project Security Advisories are posted at
http://www.asterisk.org/security

This document may be superseded by later versions; if so, the latest
version will be posted at
http://downloads.digium.com/pub/security/AST-2012-014.pdf and
http://downloads.digium.com/pub/security/AST-2012-014.html

Revision History
Date Editor Revisions Made
19 November, 2012 Mark Michelson Initial Draft
02 January, 2013 Matt Jordan Removed ABE from affected products

Asterisk Project Security Advisory - AST-2012-014
Copyright (c) 2012 Digium, Inc. All Rights Reserved.
Permission is hereby granted to distribute and publish this advisory in its
original, unaltered form.


Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close