目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-8504 PoC — VICIdial 安全漏洞

来源
关联漏洞
标题: VICIdial 安全漏洞 (CVE-2024-8504)
Description:VICIdial是VICIdial公司的一个软件套件。旨在与 Asterisk 开源 Pbx 电话系统交互,作为一个完整的呼入/呼出联络中心套件,同时支持呼入电子邮件。 VICIdial存在安全漏洞。攻击者利用该漏洞可以以“root”用户身份执行任意shell命令。
Description
CVE-2024-8504
介绍
# ViciDial Exploit Suite

**Author**: Havok
**Project URL**: [ViciDial Exploit Suite](https://github.com/havokzero/ViciDial)

## Overview

The ViciDial Exploit Suite is a comprehensive toolset designed for penetration testers and security researchers targeting vulnerabilities in ViciDial installations. This suite leverages **SQL Injection (SQLi)** and **Remote Code Execution (RCE)** vulnerabilities to gain unauthorized access and execute commands. Additionally, the tool allows interaction with the **ViciDial API** for post-exploitation control after acquiring valid credentials.

## Features

- **SQL Injection (SQLi)**: Extract administrative credentials via time-based SQLi attacks.
- **Remote Code Execution (RCE)**: Execute remote shell commands on compromised ViciDial systems, with reverse shell capability.
- **ViciDial API Integration**: Authenticate to the ViciDial API using the extracted credentials, allowing further system control.

## Modules

### SQL Injection (SQLi)

The SQL Injection module exploits time-based SQLi to extract sensitive data, such as admin usernames and passwords. It works by enumerating credentials one character at a time, providing live feedback during the extraction process.

#### Example Output:
[+] Target appears vulnerable to time-based SQL injection. 
[-] Enumerating administrator credentials... 
[-] Username: admin 
[*] Password: Test@123 
[+] SQLi successful: 
[+]Username: admin, Password: Test@123


### Remote Code Execution (RCE)

The RCE module enables remote shell command execution on the compromised ViciDial server. It can also be used to launch a reverse shell, allowing full access to the server for post-exploitation activities. 

### ViciDial API Integration

After obtaining administrative credentials, the tool provides direct interaction with the ViciDial API. This allows users to:
- List campaigns
- Make API calls
- Retrieve server information
- (Maybe more will be added later)

## Installation

To set up the ViciDial Exploit Suite, follow these steps:

1. **Clone the repository**:

    ```bash
    git clone https://github.com/havokzero/ViciDial.git
    cd ViciDial
    ```

2. **Install the required dependencies**:

    Ensure `pip` is installed and run:

    ```bash
    pip install -r requirements.txt
    ```

3. **Run the tool**:

    ```bash
    python main.py
    ```

## Usage

Once launched, the tool presents you with a menu where you can choose between SQLi, RCE, or API functionalities:

### SQL Injection (SQLi)

1. Select `[1]` for SQL Injection.
2. Provide the target ViciDial server URL.
3. Watch as the tool extracts admin credentials through time-based SQLi.

### Remote Code Execution (RCE)

1. Select `[2]` for Remote Code Execution.
2. Provide details such as the webserver host, port, and listener configuration.
3. Choose whether to launch a reverse shell or execute a command.

### Vicidial API Interaction

1. Once credentials are obtained, select `[3]` to use the Vicidial API.
2. You can retrieve server information, list campaigns, or initiate calls.

## Example Scenarios

### SQL Injection & API Interaction

1. Run the tool:

    ```bash
    python main.py
    ```

2. Choose the **SQL Injection** option (Option 1).
3. Enter the ViciDial server URL.
4. Once credentials are retrieved, select the **API** option (Option 3) to interact with the system.

### Remote Code Execution

1. Run the tool:

    ```bash
    python main.py
    ```

2. Select the **RCE** option (Option 2).
3. Provide the necessary webserver and listener details to launch a reverse shell or execute a command.

## Disclaimer

This tool is untested and intended for educational purposes only. The author is not responsible for any misuse of this software. Always ensure that you have explicit permission before running this tool on any systems.


### License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →