CVE-2026-129349
Kritisch 9,1 PoC auf GitHubWhen authentication caching is enabled on DefaultLdapRealm, after a user logs in successfully once, subsequent logins for that user succeed with any password. A...
- CVSS
- 9,1 (v4.0)
- Angriffswahrscheinlichkeit (EPSS)
- 0,58 % (höher als 49,3 % aller Lücken)
- Veröffentlicht
- 15.11.2026
- Zuletzt geändert
- 20.11.2026
Öffentlicher Angriffscode
Ein Proof of Concept auf GitHub, darunter googlesky/CVE-2026-129349. Ungeprüft: solche Repositories enthalten manchmal selbst Schadcode.
Beschreibung
When authentication caching is enabled on DefaultLdapRealm, after a user logs in successfully once, subsequent logins for that user succeed with any password. A cached authentication skips the LDAP bind, and the AllowAllCredentialsMatcher installed by default in DefaultLdapRealm accepts any credentials, allowing an attacker who knows a valid username to authenticate as that user. This issue affects all Apache Shiro versions through 3.0.0, only when using DefaultLdapRealm (or JndiLdapRealm) with authenticationCachingEnabled set to true, which is not the default. Mitigation: Upgrade to version 3.0.1 or later, which fixes the issue by no longer installing AllowAllCredentialsMatcher by default. Alternatively, disable authentication caching on the LDAP realm (this is the default), or configure a credentials matcher, such as SimpleCredentialsMatcher, that verifies credentials against the cached authentication info.
Betroffene Pakete
| Paket | Betroffen | Behoben in |
|---|---|---|
| Debian:12 shiro | alle Versionen, noch kein Fix | noch kein Fix |
| Debian:13 shiro | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS shiro | alle Versionen, noch kein Fix | noch kein Fix |
Quellen
Weitere Kennungen
UBUNTU-CVE-2026-129349 · DEBIAN-CVE-2026-129349 · CWE-287
Sind Ihre Projekte betroffen?
Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.