CVE-2024-58294 Details
Description
FreePBX 16 contains an authenticated remote code execution vulnerability in the API module that allows attackers with valid session credentials to execute arbitrary commands. Attackers can exploit the 'generatedocs' endpoint by crafting malicious POST requests with bash command injection to establish remote shell access.
A remote code execution vulnerability has been identified in FreePBX version 16, within the API module. This vulnerability allows authenticated attackers with valid session credentials to execute arbitrary commands. Exploitation involves sending crafted POST requests to the 'generatedocs' endpoint, injecting malicious bash commands that can be executed on the server, potentially leading to unauthorized remote shell access.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.exploit-db.com/exploits/52031 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://www.freepbx.org/ | [email protected] | Product |
| https://www.vulncheck.com/advisories/freepbx-authenticated-remote-code-execution-via-api-module | [email protected] | Third Party Advisory |
| https://www.youtube.com/watch?v=rqFJ0BxwlLI | [email protected] | Exploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sangoma freepbx | 16.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 27, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 15, 2025 | Initial Analysis | [email protected] |
| Dec 11, 2025 | New CVE Received | [email protected] |