Authenticated shell command execution via SSH test connection
Published Nov 7, 2025 · Updated Nov 7, 2025
OS command injection in FreePBX filestore 17.0.2.36 and later before 17.0.3 allows remote authenticated users to execute shell commands. The testconnection handler passes an attacker-controlled SSH key path to check_ssh_connect(), which embeds it in local exec() command strings without shell escaping. Access to the Administration panel with a known username is required; injected commands run as the asterisk user and can establish remote system access.
Summary
What happened
OS command injection in FreePBX filestore 17.0.2.36 and later before 17.0.3 allows remote authenticated users to execute shell commands. The testconnection handler passes an attacker-controlled SSH key path to check_ssh_connect(), which embeds it in local exec() command strings without shell escaping. Access to the Administration panel with a known username is required; injected commands run as the asterisk user and can establish remote system access.
The record
- CVE
- CVE-2025-64328
- Published
- Nov 7, 2025
- Updated
- Nov 7, 2025
- Vendor
- FreePBX
- Product
- Security Reporting
- Classifications
- CWE-78, T1059.004
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Nov 7, 2025CVE publishedPublication date reported by the CVE source.
- Nov 7, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 17.0.2.36, < 17.0.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo