CVE-2021-45461: FreePBX RestApps - Remote Code Execution
- Cve: CVE-2021-45461
- Name: FreePBX RestApps - Remote Code Execution
- Description: FreePBX, when restapps (aka Rest Phone Apps) 15.0.19.87, 15.0.19.88, 16.0.18.40, or 16.0.18.41 is installed, allows remote attackers to execute arbitrary code, as exploited in the wild in December 2021. The fixed versions are 15.0.20 and 16.0.19.
- Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to version 15.0.20 or 16.0.19.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.21492
- Epss percentile: 0.97675
- Assignee: [email protected]
- Published at: 2021-12-22T19:15:11Z
- Age in days: 1798
- Modified at: 2026-06-17T04:13:24Z
- Public exploits total: 1
- References total: 6
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-45461
- Nvd status: modified
- Checked, none or zero: patch available, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2021-12-22 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://community.freepbx.org/t/0-day-freepbx-exploit/80092 | nvd | 2021-12-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://community.freepbx.org/t/0-day-freepbx-exploit/80092 | nvd | Exploit, Issue Tracking, Vendor Advisory |
| https://wiki.freepbx.org/display/FOP/2021-12-21+SECURITY%3A+Potential+Rest+Phone+Apps+RCE | nvd | Vendor Advisory |
| https://community.freepbx.org/t/security-issue-potential-rest-phone-apps-rce/80109 | vulncheck | Vulncheck Reported Exploitation |
| https://cyble.com/blog/jomangy-inj3ctor3s-self-healing-freepbx-toll-fraud-campaign/ | vulncheck | Vulncheck Reported Exploitation |
| https://www.fortinet.com/blog/threat-research/unveiling-the-weaponized-web-shell-encystphp | vulncheck | Vulncheck Reported Exploitation |
| https://www.cve.org/CVERecord?id=CVE-2021-45461 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sangoma:restapps | = 16.0.18.41, = 16.0.18.40, = 15.0.19.88, = 15.0.19.87 | yes | nvd | /v1/products/sangoma/restapps |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2021-12-22
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-12-22
- Remote: yes
- Checked, none or zero: known exploited, initial access, authentication required
- Not known: known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts