CVE-2024-42365
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-42365 affects Asterisk, an open source private branch exchange (PBX) and telephony toolkit. The vulnerability was discovered and disclosed on August 8, 2024. The affected versions include Asterisk versions prior to 18.24.2, 20.9.2, and 21.4.2, and certified-asterisk versions prior to 18.9-cert11 and 20.7-cert2. The vulnerability allows an AMI user with write=originate permission to modify all configuration files in the /etc/asterisk/ directory (GitHub Advisory).

Technical details

The vulnerability stems from insufficient permission checks in the AMI (Asterisk Management Interface) system. Users with only write=originate permission can use the FILE function inside the SET application to append to existing files and use CURL to write remote files to disk. The vulnerability bypasses existing security controls meant to prevent users with low privileges from executing sensitive operations. The issue has been assigned a CVSS v3.1 base score of 8.8 HIGH by NIST and 7.4 HIGH by GitHub, with a vector string of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L (NVD).

Impact

The vulnerability can lead to privilege escalation, remote code execution, and/or blind server-side request forgery with arbitrary protocol. Attackers can modify configuration files, create new manager users with elevated permissions, and execute system commands through the compromised system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Asterisk versions 18.24.2, 20.9.2, and 21.4.2, and certified-asterisk versions 18.9-cert11 and 20.7-cert2. Users should upgrade to these patched versions to protect against exploitation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management