CVE-2023-20154 is an authentication bypass in Cisco Modeling Labs when it uses LDAP external authentication. It scores 9.1 (Critical) and can give web interface administrator access. Cisco's fix is release 2.5.1 for the 2.5 line, and releases 2.3 and 2.4 must migrate to a fixed release.
What's affected
Affected: Cisco Modeling Labs for Education, Enterprise and Not For Resale, when configured with LDAP authentication. Not affected: Modeling Labs Personal and Personal Plus.
Fixed, per Cisco's advisory (cisco-sa-cml-auth-bypass-4fUCCeG5): release 2.2 and earlier is not vulnerable; releases 2.3 and 2.4 must migrate to a fixed release; release 2.5 is fixed in 2.5.1. Cisco says it is not aware of public announcements or malicious use. KEV is false.
Source conflicts: NVD records the publication date as 15 November 2024, but Cisco first published the advisory on 19 April 2023. The vector says no privileges are required (PR:N), while the text says the attacker needs valid credentials stored on the external authentication server. Both are in the sources, and the reading that matches the text is that the attacker is a valid directory user who gains administrator rights.
The weakness is CWE-305, authentication bypass by primary weakness. There is a workaround.
How to check if you're exposed
Check whether LDAP authentication is configured. Cisco's steps: sign in to Cisco Modeling Labs, then choose Tools, System Administration, User Authentication.
Then check the release number. Release 2.5.0 or any 2.3 or 2.4 release with LDAP configured is exposed. Personal and Personal Plus are listed as not vulnerable.
What to do now
- Upgrade release 2.5 to 2.5.1. For 2.3 and 2.4, migrate to a fixed release as Cisco directs.
- As a workaround, have the LDAP server administrator verify that failing search queries do not return non-empty result arrays. Methods vary by LDAP server, so use its documentation.
- Test the workaround in your environment before relying on it, as Cisco advises.
- Review the list of users and recent administrator sessions in the web interface for access you cannot explain.
- Back up lab data before the upgrade, since administrators can access and modify every simulation and all user created data.
Why it matters
The bug depends on how the LDAP server answers a failed search. Cisco explains that when the server replies to search queries with a non-empty array of matching entries, such as search result references, the Modeling Labs authentication mechanism mishandles the reply and can log the user in as an administrator. An attacker cannot change that LDAP behavior. Only the LDAP server administrator can.
The consequence is stark: an ordinary directory user becomes an administrator who can see and change every simulation. In a lab used to model production networks, that can include real topology and configuration details.
The lesson for authentication code is to treat anything but a clear success from an external system as a failure.
Quick check
Does every Cisco Modeling Labs install need the fix?
Only those using LDAP authentication on the affected releases. Personal and Personal Plus are listed as not vulnerable.
Is there a workaround?
Yes. Make sure the LDAP server does not return non-empty result arrays for failing searches. Test it in your environment first.
Sources
Last reviewed: 19 October 2026.