CVE-2025-64328: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in FreePBX security-reporting
FreePBX Endpoint Manager is a module for managing telephony endpoints in FreePBX systems. In versions 17.0.2.36 and above before 17.0.3, the filestore module within the Administrative interface is vulnerable to a post-authentication command injection by an authenticated known user via the testconnection -> check_ssh_connect() function. An attacker can leverage this vulnerability to obtain remote access to the system as an asterisk user. This issue is fixed in version 17.0.3.
AI Analysis
Technical Summary
CVE-2025-64328 is an OS command injection vulnerability classified under CWE-78, found in the FreePBX Endpoint Manager module, specifically within the filestore component of the administrative interface. The vulnerability affects versions 17.0.2.36 through 17.0.3 (exclusive). It arises from improper neutralization of special elements in OS commands within the testconnection -> check_ssh_connect() function. An authenticated user with known credentials can exploit this flaw by injecting malicious commands, which the system executes with the privileges of the 'asterisk' user. This user typically has significant control over telephony services, making the impact severe. The vulnerability does not require user interaction beyond authentication and can be exploited remotely over the network. The CVSS 4.0 score is 8.6 (high), reflecting the ease of exploitation (network vector, low attack complexity, no user interaction) and the high impact on confidentiality, integrity, and availability. The flaw allows attackers to gain unauthorized remote access, potentially leading to full compromise of telephony infrastructure, interception or manipulation of calls, and disruption of communications. The issue was publicly disclosed on November 7, 2025, and fixed in FreePBX version 17.0.3. No known exploits are currently reported in the wild, but the vulnerability's nature and impact warrant immediate attention.
Potential Impact
For European organizations, the impact of CVE-2025-64328 is significant due to the widespread use of FreePBX in enterprise telephony systems. Successful exploitation can lead to unauthorized remote access to telephony servers, enabling attackers to intercept, manipulate, or disrupt voice communications. This can compromise sensitive business communications, lead to data leakage, and disrupt critical operations reliant on telephony. The attacker gaining access as the 'asterisk' user could also pivot to other internal systems, escalating the breach's severity. Organizations in sectors such as finance, healthcare, government, and critical infrastructure are particularly at risk due to their reliance on secure and reliable communication channels. Additionally, telephony service disruptions can impact customer service and operational continuity. Given the vulnerability requires authentication, insider threats or compromised credentials increase the risk. The lack of known exploits in the wild provides a window for proactive mitigation before widespread attacks occur.
Mitigation Recommendations
European organizations should immediately upgrade FreePBX Endpoint Manager to version 17.0.3 or later to remediate the vulnerability. Until patching is complete, restrict administrative interface access to trusted networks and enforce strict authentication controls, including multi-factor authentication (MFA) to reduce the risk of credential compromise. Monitor logs for unusual SSH connection attempts or command execution patterns indicative of exploitation attempts. Implement network segmentation to isolate telephony infrastructure from general IT networks, limiting lateral movement opportunities. Conduct regular audits of user accounts with access to the administrative interface and revoke unnecessary privileges. Employ intrusion detection/prevention systems (IDS/IPS) tuned to detect command injection patterns and anomalous behavior on telephony servers. Finally, maintain an incident response plan tailored to telephony system compromises to enable rapid containment and recovery.
Affected Countries
Germany, United Kingdom, France, Italy, Spain, Netherlands, Belgium, Sweden, Poland, Ireland
CVE-2025-64328: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in FreePBX security-reporting
Description
FreePBX Endpoint Manager is a module for managing telephony endpoints in FreePBX systems. In versions 17.0.2.36 and above before 17.0.3, the filestore module within the Administrative interface is vulnerable to a post-authentication command injection by an authenticated known user via the testconnection -> check_ssh_connect() function. An attacker can leverage this vulnerability to obtain remote access to the system as an asterisk user. This issue is fixed in version 17.0.3.
AI-Powered Analysis
Technical Analysis
CVE-2025-64328 is an OS command injection vulnerability classified under CWE-78, found in the FreePBX Endpoint Manager module, specifically within the filestore component of the administrative interface. The vulnerability affects versions 17.0.2.36 through 17.0.3 (exclusive). It arises from improper neutralization of special elements in OS commands within the testconnection -> check_ssh_connect() function. An authenticated user with known credentials can exploit this flaw by injecting malicious commands, which the system executes with the privileges of the 'asterisk' user. This user typically has significant control over telephony services, making the impact severe. The vulnerability does not require user interaction beyond authentication and can be exploited remotely over the network. The CVSS 4.0 score is 8.6 (high), reflecting the ease of exploitation (network vector, low attack complexity, no user interaction) and the high impact on confidentiality, integrity, and availability. The flaw allows attackers to gain unauthorized remote access, potentially leading to full compromise of telephony infrastructure, interception or manipulation of calls, and disruption of communications. The issue was publicly disclosed on November 7, 2025, and fixed in FreePBX version 17.0.3. No known exploits are currently reported in the wild, but the vulnerability's nature and impact warrant immediate attention.
Potential Impact
For European organizations, the impact of CVE-2025-64328 is significant due to the widespread use of FreePBX in enterprise telephony systems. Successful exploitation can lead to unauthorized remote access to telephony servers, enabling attackers to intercept, manipulate, or disrupt voice communications. This can compromise sensitive business communications, lead to data leakage, and disrupt critical operations reliant on telephony. The attacker gaining access as the 'asterisk' user could also pivot to other internal systems, escalating the breach's severity. Organizations in sectors such as finance, healthcare, government, and critical infrastructure are particularly at risk due to their reliance on secure and reliable communication channels. Additionally, telephony service disruptions can impact customer service and operational continuity. Given the vulnerability requires authentication, insider threats or compromised credentials increase the risk. The lack of known exploits in the wild provides a window for proactive mitigation before widespread attacks occur.
Mitigation Recommendations
European organizations should immediately upgrade FreePBX Endpoint Manager to version 17.0.3 or later to remediate the vulnerability. Until patching is complete, restrict administrative interface access to trusted networks and enforce strict authentication controls, including multi-factor authentication (MFA) to reduce the risk of credential compromise. Monitor logs for unusual SSH connection attempts or command execution patterns indicative of exploitation attempts. Implement network segmentation to isolate telephony infrastructure from general IT networks, limiting lateral movement opportunities. Conduct regular audits of user accounts with access to the administrative interface and revoke unnecessary privileges. Employ intrusion detection/prevention systems (IDS/IPS) tuned to detect command injection patterns and anomalous behavior on telephony servers. Finally, maintain an incident response plan tailored to telephony system compromises to enable rapid containment and recovery.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-10-30T17:40:52.028Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 690d71c16e13fd093e3db3fd
Added to database: 11/7/2025, 4:12:49 AM
Last enriched: 11/14/2025, 4:50:20 AM
Last updated: 12/22/2025, 2:34:09 PM
Views: 111
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-26379: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Johnson Controls IQ Panels2, 2+, IQHub, IQPanel 4, PowerG
HighCVE-2025-14018: CWE-428 Unquoted Search Path or Element in NetBT Consulting Services Inc. e-Fatura
HighCVE-2025-54890: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Centreon Infra Monitoring
MediumCVE-2025-8460: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Centreon Infra Monitoring
MediumCVE-2025-12514: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Centreon Infra Monitoring - Open-tickets
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.