Skip to main content
VulnerabilityPublished Updated

CVE-2024-42365: asterisk · Privilege Defined With Unsafe Actions

Affects asteriskSource GCVE Database

0
Compare

Public exploit available (Metasploit) · CVSS 7.4 High · fixed in 21.4.2 : patch asterisk as a priority.

Data as of 29 Oct 2026, 22:52 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
Patch
Available – fixed in 21.4.2, 20.9.2, 20.7-cert2 +2
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 29 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
asterisk asteriskAffected
  • <18.24.2
  • >=19.0.0 <20.9.2
  • >=21.0.0 <21.4.2
  • <18.9-cert11
  • >=19.0 <20.7-cert2
Fixed in
  • 18.24.2
  • 20.9.2
  • 21.4.2
  • 18.9-cert11
  • 20.7-cert2

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…