OS Command Injection in Sangoma FreePBX Endpoint Manager Filestore Module
CVE-2025-64328 is a post-authentication operating system command injection vulnerability in Sangoma FreePBX Endpoint Manager, specifically in the Administrative interface’s filestore component. The vulnerable code path is the testconnection workflow through the check_ssh_connect() function. Affected versions are FreePBX Endpoint Manager 17.0.2.36 and later before 17.0.3. Due to insufficient sanitization of attacker-controlled input passed to shell execution, an authenticated known user can inject arbitrary shell commands. Successful exploitation results in command execution on the underlying host in the context of the asterisk user and can be used to establish remote access or deploy follow-on payloads such as web shells.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a Nuclei template (CVE-2025-64328.yaml) and a README.md describing a proof-of-concept exploit for CVE-2025-64328, an authenticated command injection vulnerability in FreePBX 17's filestore module. The exploit targets the 'testconnection' functionality, specifically the check_ssh_connect() function, allowing an authenticated attacker to inject arbitrary shell commands via the 'key' parameter in a GET request to /admin/ajax.php. The Nuclei template automates exploitation by first authenticating to the FreePBX admin panel and then sending a crafted request that triggers the vulnerability. The README provides a curl-based PoC that demonstrates writing to a file on the server via command injection. The exploit requires valid credentials and network access to the FreePBX admin interface. The repository is structured as a typical Nuclei exploit template with supporting documentation.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
68 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A known FreePBX-related vulnerability cited as one of two high-confidence flaws used for initial access in the INJ3CTOR3 exploitation campaign against exposed VoIP servers.
A post-authentication command injection vulnerability in the FreePBX filestore module identified as a likely entry point for the INJ3CTOR3 campaign against FreePBX systems.
A remote code execution vulnerability in FreePBX filestore functionality, referenced as a Metasploit module PR.
A vulnerability (unspecified type in the provided text) reported as exploited, impacting Sangoma FreePBX deployments at scale.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.