
Unauthenticated SQL injection to RCE exploit for FreePBX 16 Endpoint Manager (CVE-2025-57819). Demonstrates stacked queries to write a webshell via cron_jobs and escalate to root.
Unauthenticated stacked SQL injection in the FreePBX Endpoint Manager module (admin/ajax.php, brand parameter), CVE-2025-57819, affecting FreePBX framework < 16.0.89. It is escalated to remote code execution by INSERTing a row into FreePBX's own cron_jobs table so the appliance cron runner writes an attacker webshell within ~60s (exec as the asterisk user).
CVE: CVE-2025-57819
python3 -m pip install requests # for the Python PoC(s)
python3 exploit.py <target> [--vhost <name>] [--root] [--cmd <shell cmd>]
asteriskFor authorised security testing and education only. Only run this against systems you own or have explicit written permission to test.
Author: r3vpwnx