RCE in Freepbx
CVE-2024-58294
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.036, 89.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Freepbx — versions 16
- Sangoma Freepbx — versions 16.0
Weakness classification (CWE)
References
- ExploitDB-52031 (Exploit, exploit, Third Party Advisory, VDB Entry)
- Official Product Homepage (Product, product)
- Original Video Link (product, Exploit)
- VulnCheck Advisory: FreePBX 16 Authenticated Remote Code Execution via API Module (Third Party Advisory, third-party-advisory)