7.8
HIGH
CVE-2024-49215
Sangoma Asterisk File Traversal Vulnerability
Description

An issue was discovered in Sangoma Asterisk through 18.20.0, 19.x and 20.x through 20.5.0, and 21.x through 21.0.0, and Certified Asterisk through 18.9-cert5. In manager.c, the functions action_getconfig() and action_getconfigJson() do not process the input file path, resulting in a path traversal vulnerability. In versions without the restrictedFile() function, no processing is done on the input path. In versions with the restrictedFile() function, path traversal is not processed.

INFO

Published Date :

Oct. 21, 2024, 1:15 a.m.

Last Modified :

Oct. 24, 2024, 2:10 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-49215 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Sangoma asterisk
2 Sangoma certified_asterisk
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-49215.

URL Resource
https://gist.github.com/hyp164D1/5d68b9b7a504f1416272a825ce65966a Third Party Advisory
https://github.com/asterisk/asterisk/blob/20.5.0/main/manager.c#L3755 Product

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-49215 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-49215 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Oct. 24, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://gist.github.com/hyp164D1/5d68b9b7a504f1416272a825ce65966a No Types Assigned https://gist.github.com/hyp164D1/5d68b9b7a504f1416272a825ce65966a Third Party Advisory
    Changed Reference Type https://github.com/asterisk/asterisk/blob/20.5.0/main/manager.c#L3755 No Types Assigned https://github.com/asterisk/asterisk/blob/20.5.0/main/manager.c#L3755 Product
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* versions up to (including) 18.20.0 *cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* versions from (including) 19.0.0 up to (including) 20.5.0 *cpe:2.3:a:sangoma:asterisk:21.0.0:*:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:*:*:*:*:*:*:*:* versions up to (excluding) 18.9 *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1-rc1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert3:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert4:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert5:*:*:*:*:*:*
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 22, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-22
    Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE Received by [email protected]

    Oct. 21, 2024

    Action Type Old Value New Value
    Added Description An issue was discovered in Sangoma Asterisk through 18.20.0, 19.x and 20.x through 20.5.0, and 21.x through 21.0.0, and Certified Asterisk through 18.9-cert5. In manager.c, the functions action_getconfig() and action_getconfigJson() do not process the input file path, resulting in a path traversal vulnerability. In versions without the restrictedFile() function, no processing is done on the input path. In versions with the restrictedFile() function, path traversal is not processed.
    Added Reference MITRE https://github.com/asterisk/asterisk/blob/20.5.0/main/manager.c#L3755 [No types assigned]
    Added Reference MITRE https://gist.github.com/hyp164D1/5d68b9b7a504f1416272a825ce65966a [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-49215 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability