CVE-2017-7617
published 2017-04-10CVE-2017-7617: Remote code execution can occur in Asterisk Open Source 13.x before 13.14.1 and 14.x before 14.3.1 and Certified Asterisk 13.13 before 13.13-cert3 because of a…
PriorityP355high8.8CVSS 3.0
AVNACLPRLUINSUCHIHAH
EPSS
6.24%
92.7th percentile
Remote code execution can occur in Asterisk Open Source 13.x before 13.14.1 and 14.x before 14.3.1 and Certified Asterisk 13.13 before 13.13-cert3 because of a buffer overflow in a CDR user field, related to X-ClientCode in chan_sip, the CDR dialplan function, and the AMI Monitor action.
Affected
55 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | asterisk | < asterisk 1:13.14.1~dfsg-1 (bullseye) | asterisk 1:13.14.1~dfsg-1 (bullseye) |
| debian | asterisk | < asterisk 1:13.18.1~dfsg-1 (bullseye) | asterisk 1:13.18.1~dfsg-1 (bullseye) |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
| digium | asterisk | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →CVE-2017-7617 affects the CDR Party A user field buffer in Asterisk. Monitor for oversized strings supplied via X-ClientCode SIP header, the CDR dialplan function, or the AMI Monitor action, as these are the identified attack vectors. ↗
- →Inspect SIP traffic for abnormally large X-ClientCode header values targeting Asterisk instances running versions 13.x before 13.14.1 or 14.x before 14.3.1 or Certified Asterisk 13.13 before 13.13-cert3. ↗
- →No size checking is done when setting the user field on a CDR for Party A; monitor AMI Monitor action calls and CDR dialplan function invocations with arbitrarily large string arguments as a potential exploitation indicator. ↗
- ·CVE-2017-7617 is specific to the Party A CDR user field buffer overflow; CVE-2017-16671 is a distinct but related vulnerability affecting the Party B CDR user field. Detection logic should account for both attack surfaces separately. ↗
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_ubuntu8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-fw6v-c6vw-rqq9: Remote code execution can occur in Asterisk Open Source 13
ghsa_unreviewed·2022-05-17
CVE-2017-7617 [HIGH] CWE-119 GHSA-fw6v-c6vw-rqq9: Remote code execution can occur in Asterisk Open Source 13
Remote code execution can occur in Asterisk Open Source 13.x before 13.14.1 and 14.x before 14.3.1 and Certified Asterisk 13.13 before 13.13-cert3 because of a buffer overflow in a CDR user field, related to X-ClientCode in chan_sip, the CDR dialplan function, and the AMI Monitor action.
GHSA
GHSA-6vm7-9fw2-vx89: A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13
ghsa_unreviewed·2022-05-14·CVSS 8.8
CVE-2017-16671 [HIGH] CWE-119 GHSA-6vm7-9fw2-vx89: A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13
A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13.18.1, 14 before 14.7.1, and 15 before 15.1.1 and Certified Asterisk 13.13 before 13.13-cert7. No size checking is done when setting the user field for Party B on a CDR. Thus, it is possible for someone to use an arbitrarily large string and write past the end of the user field storage buffer. NOTE: this is different from CVE-2017-7617, which was only about the Party A buffer.
OSV
asterisk vulnerabilities
osv·2021-03-15·CVSS 8.8
CVE-2017-16671 [HIGH] asterisk vulnerabilities
asterisk vulnerabilities
Richard Mudgett discovered that Asterisk did not properly check the length
of input string when setting the user field for PartyB on a CDR. A remote
attacker could use this vulnerability to cause a denial of service (crash)
or potentially execute arbitrary code. (CVE-2017-16671)
Alex Villacis Lasso discovered that Asterisk did not properly check the
length of input string when setting the user field for PartyA on a CDR. A
remote attacker could use this vulnerability to cause a denial of service
(crash) or potentially execute arbitrary code. (CVE-2017-7617)
OSV
CVE-2017-16671: A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13
osv·2017-11-09·CVSS 8.8
CVE-2017-16671 [HIGH] CVE-2017-16671: A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13
A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13.18.1, 14 before 14.7.1, and 15 before 15.1.1 and Certified Asterisk 13.13 before 13.13-cert7. No size checking is done when setting the user field for Party B on a CDR. Thus, it is possible for someone to use an arbitrarily large string and write past the end of the user field storage buffer. NOTE: this is different from CVE-2017-7617, which was only about the Party A buffer.
OSV
CVE-2017-7617: Remote code execution can occur in Asterisk Open Source 13
osv·2017-04-10·CVSS 8.8
CVE-2017-7617 [HIGH] CVE-2017-7617: Remote code execution can occur in Asterisk Open Source 13
Remote code execution can occur in Asterisk Open Source 13.x before 13.14.1 and 14.x before 14.3.1 and Certified Asterisk 13.13 before 13.13-cert3 because of a buffer overflow in a CDR user field, related to X-ClientCode in chan_sip, the CDR dialplan function, and the AMI Monitor action.
Ubuntu
Asterisk vulnerabilities
vendor_ubuntu·2021-03-15·CVSS 8.8
CVE-2017-7617 [HIGH] Asterisk vulnerabilities
Title: Asterisk vulnerabilities
Summary: Asterisk could be made to crash or run programs if it received specially
crafted input.
Richard Mudgett discovered that Asterisk did not properly check the length
of input string when setting the user field for PartyB on a CDR. A remote
attacker could use this vulnerability to cause a denial of service (crash)
or potentially execute arbitrary code. (CVE-2017-16671)
Alex Villacis Lasso discovered that Asterisk did not properly check the
length of input string when setting the user field for PartyA on a CDR. A
remote attacker could use this vulnerability to cause a denial of service
(crash) or potentially execute arbitrary code. (CVE-2017-7617)
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2017-7617: asterisk - Remote code execution can occur in Asterisk Open Source 13.x before 13.14.1 and ...
vendor_debian·2017·CVSS 8.8
CVE-2017-7617 [HIGH] CVE-2017-7617: asterisk - Remote code execution can occur in Asterisk Open Source 13.x before 13.14.1 and ...
Remote code execution can occur in Asterisk Open Source 13.x before 13.14.1 and 14.x before 14.3.1 and Certified Asterisk 13.13 before 13.13-cert3 because of a buffer overflow in a CDR user field, related to X-ClientCode in chan_sip, the CDR dialplan function, and the AMI Monitor action.
Scope: local
bullseye: resolved (fixed in 1:13.14.1~dfsg-1)
sid: resolved (fixed in 1:13.14.1~dfsg-1)
Debian
CVE-2017-16671: asterisk - A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13.18.1...
vendor_debian·2017·CVSS 8.8
CVE-2017-16671 [HIGH] CVE-2017-16671: asterisk - A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13.18.1...
A Buffer Overflow issue was discovered in Asterisk Open Source 13 before 13.18.1, 14 before 14.7.1, and 15 before 15.1.1 and Certified Asterisk 13.13 before 13.13-cert7. No size checking is done when setting the user field for Party B on a CDR. Thus, it is possible for someone to use an arbitrarily large string and write past the end of the user field storage buffer. NOTE: this is different from CVE-2017-7617, which was only about the Party A buffer.
Scope: local
bullseye: resolved (fixed in 1:13.18.1~dfsg-1)
sid: resolved (fixed in 1:13.18.1~dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-7617 asterisk: Buffer overflow in CDR's set user [fedora-all]
bugzilla·2017-04-05·CVSS 8.8
CVE-2017-7617 [HIGH] CVE-2017-7617 asterisk: Buffer overflow in CDR's set user [fedora-all]
CVE-2017-7617 asterisk: Buffer overflow in CDR's set user [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fed
Bugzilla
CVE-2017-7617 asterisk: Buffer overflow in CDR's set user [epel-6]
bugzilla·2017-04-05·CVSS 8.8
CVE-2017-7617 [HIGH] CVE-2017-7617 asterisk: Buffer overflow in CDR's set user [epel-6]
CVE-2017-7617 asterisk: Buffer overflow in CDR's set user [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the 'fedpkg update'
Bugzilla
CVE-2017-7617 asterisk: Buffer overflow in CDR's set user
bugzilla·2017-04-05·CVSS 8.8
CVE-2017-7617 [HIGH] CVE-2017-7617 asterisk: Buffer overflow in CDR's set user
CVE-2017-7617 asterisk: Buffer overflow in CDR's set user
No size checking is done when setting the user field on a CDR. Thus, it is possible for someone to use an arbitrarily large string and write past the end of the user field storage buffer. This allows the possibility of remote code injection.
External References:
http://downloads.asterisk.org/pub/security/AST-2017-001.html
Upstream patches:
[Asterisk 13] http://downloads.asterisk.org/pub/security/AST-2017-001-13.diff
[Asterisk 14] http://downloads.asterisk.org/pub/security/AST-2017-001-14.diff
Upstream bug:
https://issues.asterisk.org/jira/browse/ASTERISK-26897
Discussion:
Created asterisk tracking bugs for this issue:
Affects: epel-6 [bug 1439102]
Affects: fedora-all [bug 1439103]
---
This CVE Bugzilla entry is for commu
2017-04-10
Published