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

Asterisk Project Security Advisory - AST-2019-003

Asterisk Project Security Advisory - AST-2019-003
Posted Jul 12, 2019
Authored by Joshua Colp, Francesco Castellano | Site asterisk.org

Asterisk Project Security Advisory - When T.38 faxing is done in Asterisk a T.38 reinvite may be sent to an endpoint to switch it to T.38. If the endpoint responds with an improperly formatted SDP answer including both a T.38 UDPTL stream and an audio or video stream containing only codecs not allowed on the SIP peer or user a crash will occur. The code incorrectly assumes that there will be at least one common codec when T.38 is also in the SDP answer.

tags | advisory
advisories | CVE-2019-13161
SHA-256 | 246c916e8473ad9977ca8cf7ccf517b1947e0129d38290e5c1324a1d4ffccacd

Asterisk Project Security Advisory - AST-2019-003

Change Mirror Download
               Asterisk Project Security Advisory - AST-2019-003

Product Asterisk
Summary Remote Crash Vulnerability in chan_sip channel
driver
Nature of Advisory Denial of Service
Susceptibility Remote Unauthenticated Sessions
Severity Minor
Exploits Known No
Reported On June 28, 2019
Reported By Francesco Castellano
Posted On July 1, 2019
Last Updated On July 2, 2019
Advisory Contact Jcolp AT sangoma DOT com
CVE Name CVE-2019-13161

Description When T.38 faxing is done in Asterisk a T.38 reinvite may be
sent to an endpoint to switch it to T.38. If the endpoint
responds with an improperly formatted SDP answer including
both a T.38 UDPTL stream and an audio or video stream
containing only codecs not allowed on the SIP peer or user
a crash will occur. The code incorrectly assumes that there
will be at least one common codec when T.38 is also in the
SDP answer.

This requires Asterisk to initiate a T.38 reinvite which is
only done when executing the ReceiveFax dialplan
application or performing T.38 passthrough where a remote
endpoint has requested T.38.

For versions of Asterisk 13 before 13.21.0 and Asterisk 15
before 15.4.0 the “preferred_codec_only” option must also
be set to “yes”. If set to “no” the crash will not occur.

Resolution If T.38 faxing is not required this functionality can be
disabled by ensuring the “t38pt_udptl” is set to “no” so a
T.38 reinvite is not possible.

If T.38 faxing is required then Asterisk should be upgraded
to a fixed version. The problem can also be limited in scope
by enabling T.38 faxing only for endpoints which actually
participate in fax.

Affected Versions
Product Release Series
Asterisk Open Source 13.x All releases
Asterisk Open Source 15.x All releases
Asterisk Open Source 16.x All releases
Certified Asterisk 13.21 All releases

Corrected In
Product Release
Asterisk Open Source 13.27.1
Asterisk Open Source 15.7.3
Asterisk Open Source 16.4.1
Certified Asterisk 13.21-cert4

Patches
SVN URL Revision
http://downloads.asterisk.org/pub/security/AST-2019-003-13.diff Asterisk
13
http://downloads.asterisk.org/pub/security/AST-2019-003-15.diff Asterisk
15
http://downloads.asterisk.org/pub/security/AST-2019-003-16.diff Asterisk
16
http://downloads.asterisk.org/pub/security/AST-2019-003-13.21.diff Certified
Asterisk
13.21

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

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-2019-003.pdf and
http://downloads.digium.com/pub/security/AST-2019-003.html

Revision History
Date Editor Revisions Made
July 1, 2019 Joshua Colp Initial revision

Asterisk Project Security Advisory - AST-2019-003
Copyright © 2019 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:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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