> For clean Markdown of this page, append .md to its URL. For the complete documentation index, see https://www.superagent.sh/llms.txt.


Assess mutable login emails and retained-credential access across MISP external identity and organization boundaries.

# MISP external-authentication identity capture


[← Back to attack scenarios](https://www.superagent.sh/docs/products/red-teaming/attack-scenarios)

MISP uses external authentication backends to associate directory identities with local users, organizations and roles. CVE-2026-132144 (`gcve-1-2026-20351`) concerns a login email that a non-site-admin could change despite external authentication being configured. A self-chosen email can cause a directory identity's first login to resolve to a record whose original credentials the attacker still holds.

The maintainer's November 18, 2026 fix adds external-authentication checks to `UsersController::__canChangeLogin()`. The affected gate is present in **v2.5.51**; the fix is included in **v2.5.52**. Earlier affected history and backports require source verification. This scenario examines `users/edit/me`, applicable organization-admin edits, and the actual configured LDAP, Shibboleth, ApacheSecureAuth or CustomAuth identity lookup. Backend configuration, first-login provisioning, role mapping, and whether the original key remains valid all matter.

Verification requires a disposable local MISP application with real persistence, a controlled external directory/backend, separate synthetic users, and a private marker in the directory identity's organization. The attacker begins with a low-privilege key or session. The fixture owner legitimately performs the directory login; the attacker must then retrieve the marker with their original credential after being denied access before that login. An unrelated identity must remain denied. Changing an email alone does not establish takeover, and directly spoofing a trusted authentication header is not a substitute for the real backend flow.

A finding can show the source gate, configuration, local account binding, and demonstrated unauthorized organization access. It does not imply takeover of already-provisioned identities, site-admin access, or identical behavior across every backend. Reports distinguish source exposure, local fixture reproduction, and confirmed assessed-target impact. The upstream regression checks verify email-change restrictions; they are not a new end-to-end takeover demonstration. Missing services, identities, first-login state or safe observation block the corresponding checks; unresolved or negative chains remain inconclusive under the existing verification requirements.

Upgrade to v2.5.52 or a verified backport of the shared check, following the release's upgrade prerequisites. Where applicable, `MISP.disable_user_login_change` restricts non-site-admin login changes while an upgrade is prepared. Repeat the original chain against a healthy corrected application and confirm ordinary external login and legitimate site-admin email management still work. Use only disposable identities and reversible effects; do not change real users or contact production directories.

The app lists this scenario as **MISP — external-authentication identity capture** (`REPO-21`) in [Repository Red Teaming](https://www.superagent.sh/docs/products/red-teaming/repositories).

## Standards and guidance

[MISP maintainer fix and regression checks](https://github.com/MISP/MISP/commit/a1fe5058dc758b0e91bb0ff72f622fa99bdfd873)

[MISP v2.5.52 security release and upgrade prerequisites](https://github.com/MISP/MISP/releases/tag/v2.5.52)

[MISP v2.5.51 login-change gate](https://github.com/MISP/MISP/blob/v2.5.51/app/Controller/UsersController.php)

[OWASP Authentication Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html)

---
Source: https://www.superagent.sh/docs/products/red-teaming/attack-scenarios/misp-external-authentication-identity-capture
Index: https://www.superagent.sh/llms.txt
