Bug 443761 (CVE-2008-1897) - CVE-2008-1897 asterisk: 3-way handshake in IAX2 incomplete (CVE-2008-1923)
Summary: CVE-2008-1897 asterisk: 3-way handshake in IAX2 incomplete (CVE-2008-1923)
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-1897
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-23 07:13 UTC by Tomas Hoger
Modified: 2019-09-29 12:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-19 12:57:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2008-04-23 07:13:42 UTC
Asterisk upstream published following security advisory AST-2008-006:

Javantea originally reported an issue in IAX2, whereby an attacker could send a
spoofed IAX2 NEW message, and Asterisk would start sending early audio to the
target address, without ever receiving an initial response. That original
vulnerability was addressed in June 2007, by requiring a response to the initial
NEW message before starting to send any audio.

Javantea subsequently found that we were doing insufficent verification of the
ACK response and that the ACK response could be spoofed, just like the initial
NEW message. We have addressed this failure with two changes. First, we have
started to require that the ACK response contains the unique source call number
that we send in our reply to the NEW message. Any ACK response that does not
contain the source call number that we have created will be silently thrown
away. Second, we have made the generation of our source call number a little
more difficult to predict, by randomly selecting a source call number, instead
of allocating them sequentially.

Fixed in: 1.4.19.1

References:
http://downloads.digium.com/pub/security/AST-2008-006.html

Comment 1 Fedora Update System 2008-04-23 11:45:33 UTC
asterisk-1.4.19.1-1.fc8 has been submitted as an update for Fedora 8

Comment 2 Fedora Update System 2008-04-23 11:51:55 UTC
asterisk-1.4.19.1-1.fc7 has been submitted as an update for Fedora 7

Comment 3 Tomas Hoger 2008-04-24 07:31:41 UTC
CVE ids assigned by Mitre:

CVE-2008-1923:
The IAX2 channel driver (chan_iax2) in Asterisk 1.2 before revision
72630 and 1.4 before revision 65679, when configured to allow
unauthenticated calls, sends "early audio" to an unverified source IP
address of a NEW message, which allows remote attackers to cause a
denial of service (traffic amplification) via a spoofed NEW message.

CVE-2008-1897:
The IAX2 channel driver (chan_iax2) in Asterisk Open Source 1.0.x,
1.2.x before 1.2.28, and 1.4.x before 1.4.19.1; Business Edition
A.x.x, B.x.x before B.2.5.2, and C.x.x before C.1.8.1; AsteriskNOW
before 1.0.3; Appliance Developer Kit 0.x.x; and s800i before 1.1.0.3,
when configured to allow unauthenticated calls, does not verify that
an ACK response contains a call number matching the server's reply to
a NEW message, which allows remote attackers to cause a denial of
service (traffic amplification) via a spoofed ACK response that does
not complete a 3-way handshake.  NOTE: this issue exists because of an
incomplete fix for CVE-2008-1923.

References:
http://www.altsci.com/concepts/page.php?s=asteri&p=1
http://bugs.digium.com/view.php?id=10078


Comment 4 Fedora Update System 2008-04-29 20:56:39 UTC
asterisk-1.4.19.1-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2008-04-29 20:58:40 UTC
asterisk-1.4.19.1-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Red Hat Product Security 2008-06-19 12:57:50 UTC
This issue was addressed in:

Fedora:
  https://admin.fedoraproject.org/updates/F7/FEDORA-2008-3365
  https://admin.fedoraproject.org/updates/F8/FEDORA-2008-3390




Note You need to log in before you can comment on or make changes to this bug.