Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).

CVE-2024-42365Privilege Defined With Unsafe Actions in Asterisk

Severity
8.8HIGHNVD
EPSS
31.9%
top 3.18%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Timeline
PublishedAug 8
Latest updateAug 10

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 resu

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages5 packages

NVDasterisk/certified_asterisk5 versions+4
debiandebian/asterisk< asterisk 1:16.28.0~dfsg-0+deb11u5 (bullseye)
CVEListV5asterisk/asterisk< 18.9-cert11+3
NVDasterisk/asterisk19.0.020.9.1+2
Debianasterisk/asterisk< 1:16.28.0~dfsg-0+deb11u5

Patches

🔴Vulnerability Details

1
OSV
CVE-2024-42365: Asterisk is an open source private branch exchange (PBX) and telephony toolkit2024-08-08

💥Exploits & PoCs

1
Metasploit
Asterisk AMI Originate Authenticated RCE

📋Vendor Advisories

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

💬Community

2
Bugzilla
CVE-2024-42365 asterisk: Write=originate, is sufficient permissions for code execution / System() dialplan [fedora-all]2024-08-10
Bugzilla
CVE-2024-42365 asterisk: Write=originate, is sufficient permissions for code execution / System() dialplan [epel-all]2024-08-10
CVE-2024-42365 — Privilege Defined With Unsafe Actions | cvebase