CVE DatabaseCVE-2025-64328
한국어 권고문 →
CVE-2025-643287.2/HIGHCISA KEVCWE-78

FreePBX Endpoint Manager & Filestore Module Remote Code Execution (RCE) Vulnerability Advisory (CVE-2025-64328)

⚡ Jump to Patch
Affected Vendors
freepbx
Affected Components
endpoint_manager, filestore
Published Date
2025-11-07
CVSS v3.1
7.2
HIGH
EPSS (30d)
84.6%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

FreePBX Endpoint Manager and Filestore module versions 17.0.2.36 and above before 17.0.3

Impact

An authenticated administrator can execute arbitrary OS commands via the SSH connection test function, gaining remote access as the asterisk user

Mitigation

Immediately upgrade the FreePBX Filestore module to version 17.0.3 or higher

Affected Products & Version Scope

FreePBX Filestore module versions 17.0.2.36 and above before 17.0.3

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Use the FreePBX CLI utility to update the Filestore module to the patched version (17.0.3 or higher) immediately.

bash
# Update FreePBX module repositories and upgrade the filestore module
fwconsole ma upgrade filestore

# Reload the FreePBX framework to apply changes
fwconsole r

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict access to the FreePBX administration interface (ports 80, 443) using firewall rules to allow only trusted IP addresses.

bash
# Restrict access to the web interface to a trusted administrator IP (e.g., 192.168.1.100)
iptables -A INPUT -p tcp -s 192.168.1.100 --dport 443 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

3. Log Audit & IoC Verification Commands

Verify the currently installed module version and inspect web server logs for suspicious activities targeting the testconnection endpoint.

bash
# Check the currently installed version of the filestore module
fwconsole ma list | grep filestore

# Search for suspicious testconnection requests in web and asterisk logs
grep -ri 'testconnection' /var/log/httpd/ /var/log/asterisk/ 2>/dev/null
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
This vulnerability is actively exploited in the wild; immediately upgrade your FreePBX Filestore module to version 17.0.3 or higher using fwconsole.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2025-64328) is an OS command injection flaw (CWE-78) residing within the Administrative interface of the FreePBX Filestore module. The root cause lies in the testconnection -> check_ssh_connect() function, which is responsible for validating SSH connection parameters. The application fails to properly sanitize or escape user-supplied inputs before passing them to system shell execution functions, allowing command injection.

2. Exploitation Mechanics & Attack Scenario

An attacker must first obtain authenticated access to the FreePBX administrative web interface. By navigating to the Filestore configuration and triggering the SSH connection test (testconnection), the attacker injects malicious shell metacharacters (such as ;, &, or |) followed by arbitrary commands into the connection parameters. The server executes these commands with the privileges of the asterisk system user, enabling the attacker to establish a reverse shell or deploy web shells (e.g., encyst.php).

3. Infrastructure & Business Impact

This vulnerability is actively exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. Successful exploitation allows full compromise of the PBX system under the asterisk user context. This can lead to severe business impacts, including unauthorized eavesdropping on VoIP communications, toll fraud, lateral movement into the internal corporate network, and sensitive data exfiltration.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2025-64328)

FAQ

Q1. How critical is CVE-2025-64328 and is it actively exploited in the wild?

CVE-2025-64328 is rated CVSS 7.2 (HIGH) with a 30-day EPSS exploitation probability of 84.6%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2025-64328?

Primary impacted vendors include freepbx across endpoint_manager, filestore. Scope summary: FreePBX Filestore module versions 17.0.2.36 and above before 17.0.3

Q3. What temporary mitigations or workarounds exist for CVE-2025-64328 before patching?

[Mitigation] Immediately upgrade the FreePBX Filestore module to version 17.0.3 or higher Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2025-64328

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (freepbx)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2025-64328 FreePBX Endpoint Manager & Filestore Module Remote Code Execution (RCE) Vulnerability Advisory (CVE-2025-64328) (CVSS 7.2) - Patch & Workaround | CVE Pulse