CVE-2024-57520

Insecure Permissions vulnerability in asterisk v22 allows a remote attacker to execute arbitrary code via the action_createconfig function

Critical · published February 5, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
63.8
In the wild
Unconfirmed
What it is

🚨 A remote attacker could potentially execute arbitrary code on your Asterisk server! This vulnerability in version 22 allows a privileged user to leverage the action_createconfig function to create files outside the intended directory! 🔥 Think of it like a restaurant that allows kitchen staff to take out the trash, but one crafty chef discovers they can also sneak out the back door to access the storage room. This sneaky directory traversal opens up the possibility of tampering with sensitive configurations. If exploited, this could lead to the creation of malicious files that compromise server integrity, potentially allowing attackers to gain control over the system. The implications are seriously concerning for any organization relying on Asterisk for communications. This is a wake-up call to take action now!

Put simply

Think of it like a restaurant that allows kitchen staff to take out the trash, but one crafty chef discovers they can also sneak out the back door to access the storage room. This sneaky directory traversal opens up the possibility of tampering with sensitive configurations. This vulnerability stems from insecure permissions in Asterisk version 22, specifically affecting the action_createconfig function, which allows a privileged user to perform directory traversal and create files outside of the Asterisk product directory.

What to do

If exploited, this could lead to the creation of malicious files that compromise server integrity, potentially allowing attackers to gain control over the system. The implications are seriously concerning for any organization relying on Asterisk for communications. This is a wake-up call to take action now! To remediate, upgrade Asterisk to the latest version immediately. Review user permissions to ensure only trusted administrators have access to configuration management. Consider implementing tighter controls over who can execute the action_createconfig function. You've got this! By taking these steps, you'll lock down your Asterisk server and keep your communications secure. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01044 · 63.8th percentile
Published
2025-02-05T00:00Z
EPSS history
Timeline
  • 05 FEB 00:00Z
    Insecure Permissions vulnerability in asterisk v22 allows a remote attacker to execute arbitrary code via the action_createconfig function
    cvelistv5