CVE-2025-59051: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in FreePBX security-reporting
The FreePBX Endpoint Manager module includes a Network Scanning feature that provides web-based access to nmap functionality for network device discovery. In Endpoint Manager 16 before 16.0.92 and 17 before 17.0.6, insufficiently sanitized user-supplied input allows authenticated OS command execution as the asterisk user. Authentication with a known username is required. Updating to Endpoint Manager 16.0.92 or 17.0.6 addresses the issue.
AI Analysis
Technical Summary
CVE-2025-59051 is an OS command injection vulnerability classified under CWE-78, found in the FreePBX Endpoint Manager module's Network Scanning feature. This feature provides web-based access to nmap for network device discovery. In affected versions (Endpoint Manager 16 before 16.0.92 and 17 before 17.0.6), user-supplied input to the network scanning functionality is insufficiently sanitized, allowing an authenticated attacker to inject arbitrary OS commands. The commands execute with the privileges of the 'asterisk' user, which typically runs the telephony services on FreePBX systems. The vulnerability requires authentication with a known username but does not require additional user interaction, making it easier to exploit once credentials are obtained. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no user interaction (UI:N), and high privileges required (PR:H). The impact on confidentiality, integrity, and availability is high, as attackers can execute arbitrary commands, potentially leading to system compromise, data leakage, or service disruption. The vulnerability was published on October 14, 2025, with no known exploits in the wild at the time of reporting. Mitigation is straightforward by upgrading to patched versions 16.0.92 or 17.0.6 of the Endpoint Manager module.
Potential Impact
For European organizations, this vulnerability poses a significant risk to telephony infrastructure security. FreePBX is widely used in enterprise and service provider environments across Europe for VoIP telephony management. Successful exploitation could allow attackers to execute arbitrary commands on the telephony server, potentially leading to interception or manipulation of calls, disruption of communication services, and unauthorized access to sensitive internal networks. This could impact confidentiality of communications, integrity of telephony configurations, and availability of voice services. Given the critical role of telephony in business operations, especially in sectors like finance, healthcare, and government, exploitation could cause operational downtime and reputational damage. Additionally, attackers could pivot from the compromised telephony server to other internal systems, increasing the scope of impact.
Mitigation Recommendations
European organizations should immediately verify their FreePBX Endpoint Manager module versions and upgrade to version 16.0.92 or 17.0.6 or later. Restrict access to the Endpoint Manager web interface to trusted administrative networks and enforce strong authentication mechanisms, including multi-factor authentication, to reduce the risk of credential compromise. Monitor logs for unusual network scanning activity or command execution patterns originating from the Endpoint Manager interface. Implement network segmentation to isolate telephony infrastructure from critical business systems. Regularly audit user accounts with access to the Endpoint Manager module and remove or disable unused accounts. Employ application-layer firewalls or web application firewalls (WAFs) that can detect and block command injection attempts. Finally, maintain an incident response plan specifically addressing telephony system compromises.
Affected Countries
Germany, United Kingdom, France, Italy, Spain, Netherlands, Poland, Belgium, Sweden, Austria
CVE-2025-59051: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in FreePBX security-reporting
Description
The FreePBX Endpoint Manager module includes a Network Scanning feature that provides web-based access to nmap functionality for network device discovery. In Endpoint Manager 16 before 16.0.92 and 17 before 17.0.6, insufficiently sanitized user-supplied input allows authenticated OS command execution as the asterisk user. Authentication with a known username is required. Updating to Endpoint Manager 16.0.92 or 17.0.6 addresses the issue.
AI-Powered Analysis
Technical Analysis
CVE-2025-59051 is an OS command injection vulnerability classified under CWE-78, found in the FreePBX Endpoint Manager module's Network Scanning feature. This feature provides web-based access to nmap for network device discovery. In affected versions (Endpoint Manager 16 before 16.0.92 and 17 before 17.0.6), user-supplied input to the network scanning functionality is insufficiently sanitized, allowing an authenticated attacker to inject arbitrary OS commands. The commands execute with the privileges of the 'asterisk' user, which typically runs the telephony services on FreePBX systems. The vulnerability requires authentication with a known username but does not require additional user interaction, making it easier to exploit once credentials are obtained. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no user interaction (UI:N), and high privileges required (PR:H). The impact on confidentiality, integrity, and availability is high, as attackers can execute arbitrary commands, potentially leading to system compromise, data leakage, or service disruption. The vulnerability was published on October 14, 2025, with no known exploits in the wild at the time of reporting. Mitigation is straightforward by upgrading to patched versions 16.0.92 or 17.0.6 of the Endpoint Manager module.
Potential Impact
For European organizations, this vulnerability poses a significant risk to telephony infrastructure security. FreePBX is widely used in enterprise and service provider environments across Europe for VoIP telephony management. Successful exploitation could allow attackers to execute arbitrary commands on the telephony server, potentially leading to interception or manipulation of calls, disruption of communication services, and unauthorized access to sensitive internal networks. This could impact confidentiality of communications, integrity of telephony configurations, and availability of voice services. Given the critical role of telephony in business operations, especially in sectors like finance, healthcare, and government, exploitation could cause operational downtime and reputational damage. Additionally, attackers could pivot from the compromised telephony server to other internal systems, increasing the scope of impact.
Mitigation Recommendations
European organizations should immediately verify their FreePBX Endpoint Manager module versions and upgrade to version 16.0.92 or 17.0.6 or later. Restrict access to the Endpoint Manager web interface to trusted administrative networks and enforce strong authentication mechanisms, including multi-factor authentication, to reduce the risk of credential compromise. Monitor logs for unusual network scanning activity or command execution patterns originating from the Endpoint Manager interface. Implement network segmentation to isolate telephony infrastructure from critical business systems. Regularly audit user accounts with access to the Endpoint Manager module and remove or disable unused accounts. Employ application-layer firewalls or web application firewalls (WAFs) that can detect and block command injection attempts. Finally, maintain an incident response plan specifically addressing telephony system compromises.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-09-08T16:19:26.172Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68eea592ae73b78941f498d3
Added to database: 10/14/2025, 7:33:38 PM
Last enriched: 10/14/2025, 7:35:12 PM
Last updated: 10/14/2025, 10:16:50 PM
Views: 5
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-62376: CWE-287: Improper Authentication in pwncollege dojo
CriticalCVE-2025-61797: Cross-site Scripting (Stored XSS) (CWE-79) in Adobe Adobe Experience Manager
MediumCVE-2025-61796: Cross-site Scripting (Stored XSS) (CWE-79) in Adobe Adobe Experience Manager
MediumCVE-2025-54272: Cross-site Scripting (Stored XSS) (CWE-79) in Adobe Adobe Experience Manager
MediumCVE-2025-54277: Incorrect Authorization (CWE-863) in Adobe Adobe Commerce
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.