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.
References
| Link | Resource |
|---|---|
| https://www.exploit-db.com/exploits/52031 | Exploit Third Party Advisory VDB Entry |
| https://www.freepbx.org/ | Product |
| https://www.vulncheck.com/advisories/freepbx-authenticated-remote-code-execution-via-api-module | Third Party Advisory |
| https://www.youtube.com/watch?v=rqFJ0BxwlLI | Exploit |
Configurations
History
27 Oct 2026, 18:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
15 Dec 2025, 17:10
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Sangoma freepbx
Sangoma |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
| CPE | cpe:2.3:a:sangoma:freepbx:16.0:*:*:*:*:*:*:* | |
| References | () https://www.exploit-db.com/exploits/52031 - Exploit, Third Party Advisory, VDB Entry | |
| References | () https://www.freepbx.org/ - Product | |
| References | () https://www.vulncheck.com/advisories/freepbx-authenticated-remote-code-execution-via-api-module - Third Party Advisory | |
| References | () https://www.youtube.com/watch?v=rqFJ0BxwlLI - Exploit |
11 Dec 2025, 22:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-12-11 22:15
Updated : 2026-10-27 18:10
NVD link : CVE-2024-58294
Mitre link : CVE-2024-58294
CVE.ORG link : CVE-2024-58294
JSON object : View
Products Affected
sangoma
- freepbx
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
