CVE-2020-10666
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe restapps (aka Rest Phone apps) module for Sangoma FreePBX and PBXact 13, 14, and 15 through 15.0.19.2 allows remote code execution via a URL variable to an AMI command.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThe restapps module for Sangoma FreePBX and PBXact (versions 13-15 through 15.0.19.2) contains an insecure direct object reference or input validation flaw where URL variables are passed unsanitized directly to Asterisk Manager Interface (AMI) commands, enabling remote attackers to inject arbitrary AMI commands and achieve remote code execution.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 13.0, <= 13.0.93.2>= 14.0, <= 14.0.22.2>= 15.0, <= 15.0.19.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify restapps module is installedRun the command 'fwconsole ma list | grep restapps' or check the FreePBX GUI at Admin > Modules to see if restapps appears in the module listAffected if The restapps module appears in the module list, indicating it is installed
-
Check installed restapps versionRun 'fwconsole ma list | grep restapps' to see the version number, or inspect the module file /var/www/html/admin/modules/restapps/module.xml for the version tagAffected if The installed version falls within 13.0 to 13.0.93.2, 14.0 to 14.0.22.2, or 15.0 to 15.0.19.2
-
Confirm AMI port accessibilityCheck if port 5039 is listening and exposed by running 'netstat -tlnp | grep 5039' or 'ss -tlnp | grep 5039', then verify network accessibility from untrusted interfacesAffected if Port 5039 is open and accessible from network interfaces other than localhost or trusted management networks
-
Verify restapps feature is enabledCheck the FreePBX GUI under Settings > Rest API Settings or inspect the file /etc/freepbx.conf for restapps-related configuration, or run 'fwconsole restapps status' if the command is availableAffected if The restapps or REST API feature is enabled and the service is running
A system is affected if the restapps module is installed with a version between 13.0 and 15.0.19.2 and the AMI port 5039 is network-accessible
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade the restapps module to a version newer than 15.0.19.2; if immediate patching is not possible, disable the restapps module and implement network-level restrictions on the AMI port (5039) to prevent external access.
restapps module version > 13.0.93.2 (for FreePBX 13), > 14.0.22.2 (for FreePBX 14), > 15.0.19.2 (for FreePBX 15)
- 1. Access the FreePBX admin web interface
- 2. Navigate to Admin > Module Admin
- 3. Check for updates to the 'restapps' (Rest Phone Apps) module
- 4. If an update is available, review the version (should be higher than 13.0.93.2, 14.0.22.2, or 15.0.19.2 depending on your FreePBX version)
- 5. Backup the current PBX configuration
- 6. Install the updated restapps module
- 7. Apply changes and reload the FreePBX configuration
- 8. Verify the module is updated by checking the restapps module version in Admin > Modules
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,992.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2020-10666 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2020-10666 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data