CVE-2023-26567
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 · uneditedSangoma FreePBX 1805 through 2302 (when obtained as a ,.ISO file) places AMPDBUSER, AMPDBPASS, AMPMGRUSER, and AMPMGRPASS in the list of global variables. This exposes cleartext authentication credentials for the Asterisk Database (MariaDB/MySQL) and Asterisk Manager Interface. For example, an attacker can make a /ari/asterisk/variable?variable=AMPDBPASS API call.
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 · high confidenceFreePBX versions 1805-2302 store database and manager credentials (AMPDBPASS, AMPDBUSER, AMPMGRUSER, AMPMGRPASS) as global variables accessible through the Asterisk ARI API endpoint, allowing unauthenticated attackers to retrieve cleartext authentication credentials for the MariaDB/MySQL database and Asterisk Manager Interface via a simple API call.
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= 1805= 1904= 1910= 2002= 2008= 2011= 2104= 2105= 2109= 2112= 2201= 2202CVSS 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
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
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.
-
Identify FreePBX versionRun 'fwconsole ma list' or check /etc/freepbx.conf for the version string. Compare against affected versions 1805 through 2302.Affected if The installed version falls within 1805-2302 inclusive
-
Confirm Asterisk ARI API is enabledCheck the Asterisk manager configuration file (manager.conf) for 'enabled = yes' under the [general] section, and verify ARI is configured in /etc/asterisk/ari.conf. The ARI endpoint is typically accessible on port 8088 by default.Affected if ARI API is enabled and accessible on the network
-
Test ARI API for credential exposureMake an unauthenticated HTTP GET request to the ARI API endpoints (e.g., curl http://<asterisk-ip>:8088/ari/api-docs or similar ARI endpoints). Look for response data containing global variables AMPDBPASS, AMPDBUSER, AMPMGRUSER, or AMPMGRPASS.Affected if The API returns any of the credential variables (AMPDBPASS, AMPDBUSER, AMPMGRUSER, AMPMGRPASS) in plain text without authentication
-
Verify database and manager credentials are exposedReview the raw API response from the ARI endpoint. Search for strings matching the credential variable names in cleartext format.Affected if Credentials for MariaDB/MySQL or Asterisk Manager Interface are visible in the ARI API response
If FreePBX version is 1805-2302 and the Asterisk ARI API is exposed, an unauthenticated attacker can retrieve database and manager credentials through the ARI endpoint.
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 FreePBX to a version beyond 2302 that has this vulnerability patched, or implement network-level access controls to restrict the ARI API to trusted sources only.
FreePBX 2303 or later (latest stable SNG7 release)
- 1. Identify current FreePBX version by checking /etc/freepbx.conf or the FreePBX admin dashboard
- 2. Confirm vulnerability by testing if /ari/asterisk/variable?variable=AMPDBPASS returns credentials (do not expose these)
- 3. Backup current FreePBX configuration and database using fwconsole backup or mysqldump
- 4. Download the latest stable FreePBX ISO from www.sangoma.com or www.freepbx.org
- 5. Perform a fresh installation or follow Sangoma's upgrade documentation for your deployment type
- 6. After upgrade, verify the vulnerability is fixed by confirming /ari/asterisk/variable endpoint no longer exposes AMPDBUSER, AMPDBPASS, AMPMGRUSER, or AMPMGRPASS
- 7. Restore configuration from backup and update any integration credentials as needed
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-26567 — 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-2023-26567 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