CVE-2025-59056: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in FreePBX framework
FreePBX is an open-source web-based graphical user interface. In FreePBX 15, 16, and 17, malicious connections to the Administrator Control Panel web interface can cause the uninstall function to be triggered for certain modules. This function drops the module's database tables, which is where most modules store their configuration. This vulnerability is fixed in 15.0.38, 16.0.41, and 17.0.21.
AI Analysis
Technical Summary
CVE-2025-59056 is a path traversal vulnerability classified under CWE-22 affecting the FreePBX open-source telephony framework versions 15, 16, and 17 prior to their respective patched releases (15.0.38, 16.0.41, 17.0.21). FreePBX provides a web-based GUI for managing telephony modules. The vulnerability arises from improper validation and limitation of pathnames in the Administrator Control Panel web interface, allowing unauthenticated remote attackers to craft malicious requests that trigger the uninstall function of certain modules. This uninstall function deletes the module's database tables, which contain critical configuration data. The vulnerability requires no authentication, no user interaction, and can be exploited remotely over the network, making it highly accessible to attackers. The CVSS 4.0 base score is 6.6 (medium severity), reflecting the moderate impact on availability due to loss of module configurations but no direct confidentiality or integrity compromise beyond configuration loss. No known exploits have been reported in the wild yet. The vulnerability can cause significant disruption to telephony services relying on affected modules, potentially leading to downtime and operational impact. The flaw is fixed in FreePBX versions 15.0.38, 16.0.41, and 17.0.21, and users are strongly advised to upgrade. The vulnerability's root cause is improper limitation of pathname inputs, allowing path traversal attacks that bypass intended directory restrictions.
Potential Impact
For European organizations, this vulnerability poses a risk of service disruption in telephony systems that rely on FreePBX, a widely used open-source PBX platform. The deletion of module database tables can lead to loss of configuration data, causing modules to malfunction or become unusable until restored. This can impact business communications, call routing, voicemail, and other telephony features critical for operations. Organizations in sectors such as finance, healthcare, government, and telecommunications, which depend heavily on reliable telephony infrastructure, may face operational downtime and potential financial losses. Additionally, recovery may require manual restoration from backups, increasing incident response costs and time. The lack of authentication requirement increases the attack surface, especially if the Administrator Control Panel is exposed to untrusted networks or the internet. Although no known exploits are reported in the wild, the ease of exploitation and impact on availability make this a significant threat to European enterprises using vulnerable FreePBX versions.
Mitigation Recommendations
1. Immediately upgrade FreePBX installations to the fixed versions: 15.0.38, 16.0.41, or 17.0.21 depending on the version in use. 2. Restrict access to the Administrator Control Panel web interface by implementing network-level controls such as VPNs, IP whitelisting, or firewall rules to limit exposure to trusted administrators only. 3. Regularly back up FreePBX module configurations and databases to enable rapid restoration in case of compromise. 4. Monitor web server and application logs for suspicious requests targeting the uninstall function or unusual path traversal patterns. 5. Employ web application firewalls (WAFs) with rules to detect and block path traversal attempts. 6. Conduct periodic security assessments and vulnerability scans on telephony infrastructure to detect outdated or vulnerable FreePBX versions. 7. Educate administrators on the risks of exposing management interfaces publicly and enforce strong access controls. 8. Consider segmenting telephony management interfaces from general corporate networks to reduce attack surface.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-59056: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in FreePBX framework
Description
FreePBX is an open-source web-based graphical user interface. In FreePBX 15, 16, and 17, malicious connections to the Administrator Control Panel web interface can cause the uninstall function to be triggered for certain modules. This function drops the module's database tables, which is where most modules store their configuration. This vulnerability is fixed in 15.0.38, 16.0.41, and 17.0.21.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-59056 is a path traversal vulnerability classified under CWE-22 affecting the FreePBX open-source telephony framework versions 15, 16, and 17 prior to their respective patched releases (15.0.38, 16.0.41, 17.0.21). FreePBX provides a web-based GUI for managing telephony modules. The vulnerability arises from improper validation and limitation of pathnames in the Administrator Control Panel web interface, allowing unauthenticated remote attackers to craft malicious requests that trigger the uninstall function of certain modules. This uninstall function deletes the module's database tables, which contain critical configuration data. The vulnerability requires no authentication, no user interaction, and can be exploited remotely over the network, making it highly accessible to attackers. The CVSS 4.0 base score is 6.6 (medium severity), reflecting the moderate impact on availability due to loss of module configurations but no direct confidentiality or integrity compromise beyond configuration loss. No known exploits have been reported in the wild yet. The vulnerability can cause significant disruption to telephony services relying on affected modules, potentially leading to downtime and operational impact. The flaw is fixed in FreePBX versions 15.0.38, 16.0.41, and 17.0.21, and users are strongly advised to upgrade. The vulnerability's root cause is improper limitation of pathname inputs, allowing path traversal attacks that bypass intended directory restrictions.
Potential Impact
For European organizations, this vulnerability poses a risk of service disruption in telephony systems that rely on FreePBX, a widely used open-source PBX platform. The deletion of module database tables can lead to loss of configuration data, causing modules to malfunction or become unusable until restored. This can impact business communications, call routing, voicemail, and other telephony features critical for operations. Organizations in sectors such as finance, healthcare, government, and telecommunications, which depend heavily on reliable telephony infrastructure, may face operational downtime and potential financial losses. Additionally, recovery may require manual restoration from backups, increasing incident response costs and time. The lack of authentication requirement increases the attack surface, especially if the Administrator Control Panel is exposed to untrusted networks or the internet. Although no known exploits are reported in the wild, the ease of exploitation and impact on availability make this a significant threat to European enterprises using vulnerable FreePBX versions.
Mitigation Recommendations
1. Immediately upgrade FreePBX installations to the fixed versions: 15.0.38, 16.0.41, or 17.0.21 depending on the version in use. 2. Restrict access to the Administrator Control Panel web interface by implementing network-level controls such as VPNs, IP whitelisting, or firewall rules to limit exposure to trusted administrators only. 3. Regularly back up FreePBX module configurations and databases to enable rapid restoration in case of compromise. 4. Monitor web server and application logs for suspicious requests targeting the uninstall function or unusual path traversal patterns. 5. Employ web application firewalls (WAFs) with rules to detect and block path traversal attempts. 6. Conduct periodic security assessments and vulnerability scans on telephony infrastructure to detect outdated or vulnerable FreePBX versions. 7. Educate administrators on the risks of exposing management interfaces publicly and enforce strong access controls. 8. Consider segmenting telephony management interfaces from general corporate networks to reduce attack surface.
Affected Countries
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-09-08T16:19:26.173Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68c8aa71ee2781683eebd7fd
Added to database: 9/16/2025, 12:08:17 AM
Last enriched: 2/14/2026, 7:13:58 AM
Last updated: 3/26/2026, 8:32:58 AM
Views: 198
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.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.