Skip to main content
Network Thinking Solutions Logo

CVE-2024-42365

Asterisk is an open source private branch exchange (PBX) and telephony toolkit. Prior to asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2, an AMI user with `write=originate` may change all configuration files in the `/etc/asterisk/` directory.

All CVEs
CVE-2024-42365Published 8/8/2024

Asterisk is an open source private branch exchange (PBX) and telephony toolkit. Prior to asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2, an AMI user with `write=originate` may change all configuration files in the `/etc/asterisk/` directory.

Vendor advisory
CVSS8.8High

Overview

Asterisk is an open source private branch exchange (PBX) and telephony toolkit. Prior to asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2, an AMI user with `write=originate` may change all configuration files in the `/etc/asterisk/` directory. This occurs because they are able to curl remote files and write them to disk, but are also able to append to existing files using the `FILE` function inside the `SET` application. This issue may result in privilege escalation, remote code execution and/or blind server-side request forgery with arbitrary protocol. Asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2 contain a fix for this issue.

Published
8/8/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
asterisk
asterisk
< 18.24.2

Verify advisory

Source
asterisk
asterisk
≥ 19.0.0, < 20.9.1

Verify advisory

Source
asterisk
asterisk
21.4.0

Verify advisory

Source
certified asterisk
asterisk
13.13.0

Verify advisory

Source
certified asterisk
asterisk
13.13.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
certified asterisk
asterisk
16.8

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
certified asterisk
asterisk
16.8.0

Verify advisory

Source
certified asterisk
asterisk
16.8.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
certified asterisk
asterisk
18.9

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
certified asterisk
asterisk
20.7

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
asterisk
asterisk
< 18.24.2

Verify advisory

Source
asterisk
asterisk
>= 19.0.0, < 20.9.2

Verify advisory

Source
asterisk
asterisk
>= 21.0.0, < 21.4.2

Verify advisory

Source
asterisk
asterisk
< 18.9-cert11

Verify advisory

Source
asterisk
asterisk
>= 19.0, < 20.7-cert2

Verify advisory

Source
certified_asterisk
asterisk
< 18.9-cert11

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
certified_asterisk
asterisk
≥ 19.0, < 20.7-cert2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
asterisk
asterisk
< 18.24.2

Verify advisory

Source
asterisk
asterisk
≥ 19.0.0, < 20.9.2

Verify advisory

Source
asterisk
asterisk
≥ 21.0.0, < 21.4.2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.