Description
Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, the LDAP realtime driver `res_config_ldap` may permit `LDAP filter injection` through a `SIP username`, allowing an unauthenticated attacker to make arbitrary LDAP queries using carefully crafted SIP packets and disclose information. The `res_config_ldap` module must be loaded and configured to access an LDAP server, which is not the default. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.
Published: 2026-10-26
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Unauthenticated Information Disclosure via LDAP filter injection
Action: Apply Patch
AI Analysis

Impact

The vulnerability resides in the res_config_ldap module of Asterisk, where an LDAP filter can be injected through the SIP username field. When a SIP packet containing a crafted username reaches the server, the filter is incorporated into an LDAP query executed against the configured directory. This allows an unauthenticated sender to retrieve arbitrary LDAP directory attributes accessible to the Asterisk service, leading to confidential information disclosure. The flaw does not modify data or crash the system, so integrity and availability remain unaffected.

Affected Systems

Versions prior to 20.20.1, 21.12.3, 22.10.1, 23.4.1, and their Certified counterparts 20.7‑cert11 and 22.8‑cert3 are vulnerable when the res_config_ldap driver is loaded and configured to contact an LDAP server. All other releases and configurations lacking the driver are not affected.

Risk and Exploitability

The CVSS base score of 6.9 indicates medium severity. EPSS is not reported, and the vulnerability is not in the CISA KEV list, suggesting it is not actively exploited. Deployment can be exposed to remote attackers through SIP traffic (UDP/TCP ports 5060/5061), so an unauthenticated user who can reach the Asterisk instance may send the crafted packet. No prior authentication or elevated privileges are required, making this a notable remote information disclosure vector.

Generated by OpenCVE AI on October 27, 2026 at 01:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Asterisk to a fixed release (20.20.1, 21.12.3, 22.10.1, 23.4.1 or Certified 20.7‑cert11/22.8‑cert3).
  • If the LDAP driver is unnecessary, unload or disable res_config_ldap to eliminate the flaw.
  • Restrict inbound SIP traffic to trusted networks, or use a firewall or ACL to limit who can send SIP requests to the server.

Generated by OpenCVE AI on October 27, 2026 at 01:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Asterisk
Asterisk asterisk
Asterisk certified Asterisk
Vendors & Products Asterisk
Asterisk asterisk
Asterisk certified Asterisk

Mon, 26 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
Description Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, the LDAP realtime driver `res_config_ldap` may permit `LDAP filter injection` through a `SIP username`, allowing an unauthenticated attacker to make arbitrary LDAP queries using carefully crafted SIP packets and disclose information. The `res_config_ldap` module must be loaded and configured to access an LDAP server, which is not the default. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.
Title Asterisk: LDAP Filter Injection in res_config_ldap via SIP Username (Unauthenticated Information Disclosure)
Weaknesses CWE-943
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Asterisk Asterisk Certified Asterisk
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-26T19:46:01.924Z

Reserved: 2026-06-24T02:00:46.800Z

Link: CVE-2026-57193

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-26T20:17:56.877

Modified: 2026-10-26T20:17:56.877

Link: CVE-2026-57193

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T02:00:16Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic