CVE-2024-42365: high-severity vulnerability in asterisk
Asterisk allows `Write=originate` as sufficient permissions for code execution / `System()` dialplan
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch soon. It has a working public exploit.
Asterisk PBX allows users with basic 'originate' permission to modify configuration files and execute arbitrary code by manipulating dial plans and file operations, creating a serious security risk.
An authenticated AMI user with write=originate permission can leverage the FILE function within the SET application to append malicious content to Asterisk configuration files in /etc/asterisk/, and curl remote files to disk, enabling arbitrary code execution through dialplan manipulation (CWE-1220, CWE-267). This bypasses intended permission controls and requires only AMI access with limited originate privileges.
In the same product, most dangerous first.