cve.bz

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

8.8 highExploitEPSS 4.7%Fix available

High (8.8) in asterisk. EPSS 4.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.7% (unchanged from 4.7% a week ago; 4.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-08-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-267 Privilege Defined With Unsafe Actions
CWE-1220 Insufficient Granularity of Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-42365 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-42365?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-42365?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-42365 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
asterisk:asteriskbefore 18.24.2
asterisk:asteriskfrom 19.0.0 before 20.9.1
asterisk:asterisk21.4.0
asterisk:certified_asterisk13.13.0
asterisk:certified_asterisk13.13.0:cert1
asterisk:certified_asterisk13.13.0:cert1-rc1
asterisk:certified_asterisk13.13.0:cert1-rc2
asterisk:certified_asterisk13.13.0:cert1-rc3
asterisk:certified_asterisk13.13.0:cert1-rc4
asterisk:certified_asterisk13.13.0:cert2
asterisk:certified_asterisk13.13.0:cert3
asterisk:certified_asterisk13.13.0:rc1
asterisk:certified_asterisk13.13.0:rc2
asterisk:certified_asterisk16.8:cert1-rc1
asterisk:certified_asterisk16.8:cert1-rc2
asterisk:certified_asterisk16.8:cert1-rc3
asterisk:certified_asterisk16.8:cert1-rc4
asterisk:certified_asterisk16.8:cert1-rc5
asterisk:certified_asterisk16.8:cert10
asterisk:certified_asterisk16.8:cert11
asterisk:certified_asterisk16.8:cert12
asterisk:certified_asterisk16.8:cert13
asterisk:certified_asterisk16.8:cert14
asterisk:certified_asterisk16.8:cert4-rc1
asterisk:certified_asterisk16.8:cert4-rc2
asterisk:certified_asterisk16.8:cert4-rc3
asterisk:certified_asterisk16.8:cert4-rc4
asterisk:certified_asterisk16.8.0
asterisk:certified_asterisk16.8.0:cert1
asterisk:certified_asterisk16.8.0:cert10
asterisk:certified_asterisk16.8.0:cert11
asterisk:certified_asterisk16.8.0:cert12
asterisk:certified_asterisk16.8.0:cert2
asterisk:certified_asterisk16.8.0:cert3
asterisk:certified_asterisk16.8.0:cert4
asterisk:certified_asterisk16.8.0:cert5
asterisk:certified_asterisk16.8.0:cert6
asterisk:certified_asterisk16.8.0:cert7
asterisk:certified_asterisk16.8.0:cert8
asterisk:certified_asterisk16.8.0:cert9
asterisk:certified_asterisk18.9:cert1
asterisk:certified_asterisk18.9:cert1-rc1
asterisk:certified_asterisk18.9:cert10
asterisk:certified_asterisk18.9:cert2
asterisk:certified_asterisk18.9:cert3
asterisk:certified_asterisk18.9:cert4
asterisk:certified_asterisk18.9:cert5
asterisk:certified_asterisk18.9:cert6
asterisk:certified_asterisk18.9:cert7
asterisk:certified_asterisk18.9:cert8
asterisk:certified_asterisk18.9:cert8-rc1
asterisk:certified_asterisk18.9:cert8-rc2
asterisk:certified_asterisk18.9:cert9
asterisk:certified_asterisk20.7:cert1
asterisk:certified_asterisk20.7:cert1-rc1
asterisk:certified_asterisk20.7:cert1-rc2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11asterisk1:16.28.0~dfsg-0+deb11u5DLA-3925-1
Debian14asterisk1:20.9.3~dfsg+~cs6.14.60671435-1DEBIAN-CVE-2024-42365
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 5 moreasteriskno fix listedUBUNTU-CVE-2024-42365
Alpinev3.17, v3.18asterisk18.24.3-r0ALPINE-CVE-2024-42365
Alpinev3.19asterisk20.9.3-r0ALPINE-CVE-2024-42365
Alpinev3.20, v3.21, v3.22 and 2 moreasterisk20.9.2-r0ALPINE-CVE-2024-42365

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium
  • CAPEC-58 Restful Privilege Elevation Likelihood: High · Severity: High
  • CAPEC-634 Probe Audio and Video Peripherals Likelihood: Low · Severity: High
  • CAPEC-637 Collect Data from Clipboard Likelihood: Low · Severity: Low
  • CAPEC-643 Identify Shared Files/Directories on System Likelihood: Medium · Severity: Medium
  • CAPEC-648 Collect Data from Screen Capture Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON