Skip to main content
VulnerabilityPublished Updated

CVE-2024-42365: Asterisk is an open source private branch exchange (PBX) and telephony toolkit

Affects asteriskSource GCVE Database

0
Compare
Authoritative record:CVE-2024-42365· High 7.4

Public exploit available (Metasploit) · CVSS 7.4 High.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.4
EPSS
4.7% chance of exploitation in 30 days – higher than 91% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    1 Metasploit module

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10asteriskpkg:deb/ubuntu/asterisk?arch=source&distro=stonkingOther threatsAffected
  • =1:22.5.2~dfsg+~cs6.15.60671435-1
  • =1:22.10.0+dfsg+~cs6.17.60671434-1ubuntu2
  • =1:22.10.0+dfsg+~cs6.17.60671434-1ubuntu3
Fixed in–
Ubuntu 26.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=resoluteOther threatsAffected
  • =1:22.5.2~dfsg+~cs6.15.60671435-1
Fixed in–
Ubuntu 25.10asteriskpkg:deb/ubuntu/asterisk?arch=source&distro=questingOther threatsAffected
  • 1:22.2.0~dfsg+~cs6.15.60671435-2 – 1:22.5.2~dfsg+~cs6.15.60671435-1
6 affected builds
Fixed in–
Ubuntu 24.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=nobleOther threatsAffected
  • 1:20.4.0~dfsg+~cs6.13.40431414-2 – 1:20.6.0~dfsg+~cs6.13.40431414-2build5
9 affected builds
Fixed in–
Ubuntu 22.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=jammyOther threatsAffected
  • 1:16.16.1~dfsg-2 – 1:18.10.0~dfsg+~cs6.10.40431411-2
5 affected builds
Fixed in–
Ubuntu 20.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=focalOther threatsAffected
  • =1:16.2.1~dfsg-2build2
  • =1:16.2.1~dfsg-2build3
  • =1:16.2.1~dfsg-2ubuntu1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Asterisk is an open source private branch exchange (PBX) and telephony toolkit. Prior to asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2, an AMI user with `write=originate` may change all configuration files in the `/etc/asterisk/` directory. This occurs because they are able to curl remote files and write them to disk, but are also able to append to existing files using the `FILE` function inside the `SET` application. This issue may result in privilege escalation, remote code execution and/or blind server-side request forgery with arbitrary protocol. Asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2 contain a fix for this issue.

References

Community reviews

Loading reviews…