Mass Exploitation of Sangoma FreePBX CVE-2025-64328 to Deploy EncystPHP Web Shells
Active Exploitation · 3 sources · Updated 4mo ago · First seen Mar 1, 2026

Attackers have been exploiting CVE-2025-64328, a post-authentication command injection flaw in the Sangoma FreePBX Endpoint Manager (filestore component) to compromise internet-exposed FreePBX systems and deploy persistent web shells. The vulnerability affects FreePBX versions 17.0.2.36 and above prior to 17.0.3, and can be abused by an authenticated user via the testconnection -> check_ssh_connect() function to execute commands and gain remote access as the asterisk user; the issue is fixed in 17.0.3. Reporting indicates the activity began in December 2025 and has left hundreds of systems persistently backdoored with web shells.
The Shadowserver Foundation reported roughly 900 FreePBX instances still compromised, with the largest concentration in the United States (about 400) and additional impacted systems across Brazil, Canada, Germany, France, the UK, Italy, and the Netherlands. Fortinet/FortiGuard Labs identified a PHP web shell dubbed EncystPHP associated with the campaign, which supports remote command execution, persistence, and additional web shell deployment; follow-on risk includes VoIP-focused abuse such as outbound call fraud and potential network pivoting from the PBX host. One source also states the vulnerability has been added to CISA’s Known Exploited Vulnerabilities (KEV) Catalog, reinforcing the need for rapid patching and incident response on exposed FreePBX deployments.


