{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2024-49215",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2024-10-22T19:38:14.787Z",
        "dateReserved": "2024-10-14T00:00:00",
        "datePublished": "2024-10-21T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2024-10-21T00:27:07.418299"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/asterisk/asterisk/blob/20.5.0/main/manager.c#L3755"
                },
                {
                    "url": "https://gist.github.com/hyp164D1/5d68b9b7a504f1416272a825ce65966a"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-22",
                                "lang": "en",
                                "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
                            }
                        ]
                    }
                ],
                "affected": [
                    {
                        "vendor": "asterisk",
                        "product": "asterisk",
                        "cpes": [
                            "cpe:2.3:a:asterisk:asterisk:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThanOrEqual": "18.20.0",
                                "versionType": "custom"
                            },
                            {
                                "version": "19.0",
                                "status": "affected",
                                "lessThanOrEqual": "20.5.0",
                                "versionType": "custom"
                            },
                            {
                                "version": "21.0",
                                "status": "affected",
                                "lessThanOrEqual": "21.0.0",
                                "versionType": "custom"
                            }
                        ]
                    },
                    {
                        "vendor": "asterisk",
                        "product": "certified_asterisk",
                        "cpes": [
                            "cpe:2.3:a:asterisk:certified_asterisk:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThanOrEqual": "18.9-cert5",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-10-21T13:26:50.334636Z",
                                "id": "CVE-2024-49215",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-22T19:38:14.787Z"
                }
            }
        ]
    },
    "dataVersion": "5.1"
}