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.
Problem types
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
16
Credits
Cold z3ro
References
www.exploit-db.com/exploits/52031 (ExploitDB-52031)
www.freepbx.org/ (Official Product Homepage)
www.youtube.com/watch?v=rqFJ0BxwlLI (Original Video Link)
www.vulncheck.com/...ed-remote-code-execution-via-api-module (VulnCheck Advisory: FreePBX 16 Authenticated Remote Code Execution via API Module)
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.