Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-0986 PoC — Issabel PBX 操作系统命令注入漏洞

Source
Associated Vulnerability
Title:Issabel PBX 操作系统命令注入漏洞 (CVE-2024-0986)
Description:Issabel PBX是一个应用软件。一款免费的开源软件,可让您为企业构建通信工具。 Issabel PBX 4.0.0版本存在操作系统命令注入漏洞,该漏洞源于组件 Asterisk-Cli 中包含一些未知处理,通过参数 Command 导致操作系统命令注入。
Description
Issabel PBX 4.0.0 Remote Code Execution (Authenticated) - CVE-2024-0986
Readme
# Issabel PBX 4.0.0 Remote Code Execution (Authenticated) - CVE-2024-0986

## Description/Summary

Issabel PBX 4.0.0 allows a logged in user to use `asterisk_cli` console to create files with `xmldoc` and `dump` commands. 
This allows to execute remote commands based on the name of the uploaded files abusing `restore.php` file.


This PoC script is based on [this PoC Video](https://drive.google.com/file/d/10BYLQ7Rk4oag96afLZouSvDDPvsO7SoJ/view?usp=drive_link).


## Usage

```shell-session
$ python3 Issabel_PBX_Authenticated_RCE.py -u <user> -p <password> -t <ip-address> -c <UNIX command>
```

For example:
```shell-session
$ python3 Issabel_PBX_Authenticated_RCE.py -u 'johncena' -p 'ucantseem3' -t 'https://10.10.10.10' -c 'id'
```

![PoC image](images/PoC.png)

## Notes

- This will create a file located at `/var/www/backup` called `x|<command>`. It is suggested to remove all those files after testing.
- Commands that are too long might not be executed.

## More info
This script was tested on `Issabel PBX 4.0.0`.

More CVE-2024-0986 info:
- [https://nvd.nist.gov/vuln/detail/CVE-2024-0986](https://nvd.nist.gov/vuln/detail/CVE-2024-0986)
- [https://github.com/advisories/GHSA-v9pc-9fc9-4ff8](https://github.com/advisories/GHSA-v9pc-9fc9-4ff8)
- [https://www.opencve.io/cve/CVE-2024-0986](https://www.opencve.io/cve/CVE-2024-0986)


## Disclaimer
The owner of this repository is not responsible for the usage of this software. It was made for educational purposes only.

## Licence
- MIT
File Snapshot

[4.0K] /data/pocs/080ff07a6eb4ca882d45694ef061783c5450d039 ├── [4.0K] images │   └── [158K] PoC.png ├── [9.3K] Issabel_PBX_Authenticated_RCE.py ├── [1.1K] LICENSE └── [1.5K] README.md 1 directory, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.