CVE-2026-129349
Apache Shiro Core remote authentication bypass in DefaultLdapRealm
An attacker who knows a valid username can log in remotely as that user with any password after its first login.
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 3.0.1 | org.apache.shiro:shiro-core · -84 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-129349 divulgada · CVSS 9.1 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: PoC-in-GitHub | Registro visto por primera vez en PoC-in-GitHub | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Apache Shiro, a Java security framework, has a flaw in DefaultLdapRealm when authentication caching is turned on: after a user's first successful login, later logins for that user succeed with any password. An attacker who knows a valid username can reach this remotely, without logging in, and authenticate as that user. The bug only applies when authentication caching is enabled on the LDAP realm, which is not the default setting.
Only Apache Shiro through 3.0.0 (shiro-core before 3.0.1) using DefaultLdapRealm or JndiLdapRealm with authenticationCachingEnabled set to true is covered. Fixed in 3.0.1.
Descripción original del registro (apache)
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
mavenorg.apache.shiro:shiro-core |
Corregida | 3.0.1 | -84 d | 3.0.2 no afectada |
3.0.1Arsenal público
Ver los 1 repositorios de GitHub
Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.
https://lists.apache.org/thread.html/1whn52ht402lhc782c3s843c9hho8b4yhttp://www.openwall.com/lists/oss-security/2026/11/14/8https://github.com/googlesky/CVE-2026-129349Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
