SecurityContext

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

IdName
NVD-CWE-noinfo—

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2021-12-22—no

Public exploits

UrlSourceAdded date
https://community.freepbx.org/t/0-day-freepbx-exploit/80092nvd2021-12-22

References

UrlSourceTags
https://community.freepbx.org/t/0-day-freepbx-exploit/80092nvdExploit, Issue Tracking, Vendor Advisory
https://wiki.freepbx.org/display/FOP/2021-12-21+SECURITY%3A+Potential+Rest+Phone+Apps+RCEnvdVendor Advisory
https://community.freepbx.org/t/security-issue-potential-rest-phone-apps-rce/80109vulncheckVulncheck Reported Exploitation
https://cyble.com/blog/jomangy-inj3ctor3s-self-healing-freepbx-toll-fraud-campaign/vulncheckVulncheck Reported Exploitation
https://www.fortinet.com/blog/threat-research/unveiling-the-weaponized-web-shell-encystphpvulncheckVulncheck Reported Exploitation
https://www.cve.org/CVERecord?id=CVE-2021-45461vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
sangoma:restapps= 16.0.18.41, = 16.0.18.40, = 15.0.19.88, = 15.0.19.87yesnvd/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