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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.57%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 4.0
- 8.7 HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 3.57% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- sangoma/freepbx
- Source
- disclosure@vulncheck.com
References
- https://www.exploit-db.com/exploits/52031Exploit, Third Party Advisory, VDB Entry
- https://www.freepbx.org/Product
- https://www.vulncheck.com/advisories/freepbx-authenticated-remote-code-execution-via-api-moduleThird Party Advisory
- https://www.youtube.com/watch?v=rqFJ0BxwlLIExploit
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.