Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-0537AFA3-3CE0-11E7-BF9D-001999F8D30B: asterisk -- Buffer Overrun in PJSIP transaction layer

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-0537AFA3-3CE0-11E7-BF9D-001999F8D30B: asterisk -- Buffer Overrun in PJSIP transaction layer

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
04/12/2017
Created
07/25/2018
Added
05/20/2017
Modified
09/19/2017

Description

The Asterisk project reports:

A remote crash can be triggered by sending a SIP packet

to Asterisk with a specially crafted CSeq header and a

Via header with no branch parameter. The issue is that

the PJSIP RFC 2543 transaction key generation algorithm

does not allocate a large enough buffer. By overrunning

the buffer, the memory allocation table becomes corrupted,

leading to an eventual crash.

The multi-part body parser in PJSIP contains a logical

error that can make certain multi-part body parts attempt

to read memory from outside the allowed boundaries. A

specially-crafted packet can trigger these invalid reads

and potentially induce a crash.

This issues is in PJSIP, and so the issue can be fixed

without performing an upgrade of Asterisk at all. However,

we are releasing a new version of Asterisk with the bundled

PJProject updated to include the fix.

If you are running Asterisk with chan_sip, this issue

does not affect you.

Solution(s)

  • freebsd-upgrade-package-asterisk13
  • freebsd-upgrade-package-pjsip
  • freebsd-upgrade-package-pjsip-extsrtp

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;