Security vulnerability in Asterisk versions 18.24.2, 20.9.2, and 21.4.2, and certified-asterisk versions 18.9-cert11 and 20.7-cert2
CVE-2024-42365

7.4HIGH

Key Information:

Vendor

Asterisk

Status
Vendor
CVE Published:
8 August 2024

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC๐ŸŸฃ EPSS 49%

What is CVE-2024-42365?

A vulnerability exists in the Asterisk telephony toolkit, specifically affecting AMI (Asterisk Manager Interface) users with 'write=originate' permissions. This flaw allows these users to manipulate configuration files within the '/etc/asterisk/' directory. By leveraging the ability to curl remote files and write to disk, they can not only create new files but also append data to existing files using the 'FILE' function in the 'SET' application. This could lead to significant security risks, including privilege escalation, unauthorized remote code execution, and blind server-side request forgery across various arbitrary protocols.

Affected Version(s)

asterisk < 18.24.2 < 18.24.2

asterisk >= 19.0.0, < 20.9.2 < 19.0.0, 20.9.2

asterisk >= 21.0.0, < 21.4.2 < 21.0.0, 21.4.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

EPSS Score

49% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.4
Severity:
HIGH
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

.