1. 漏洞简介 本次复现使用的漏洞环境:Apache Shiro 3.0.0 关键部署前置条件有三个: 运行在 JDK 17 上,容器为 Tomcat 11(Servlet 6.1,shiro-web 3.0.0 的编译基线) 在ini文件手动显式配置 Realm 为 org.apache.shiro.realm.ldap.DefaultLdapRealm ,通过 userDnTemplate=uid={0},ou=people,dc=example,dc=com 与 contextFactory.url=ldap://127.0.0.1:11389 对接真实 LDAP 目录;显式开启认证缓存 authenticationCachingEnabled=true 显式配置 MemoryConstrainedCacheManager (该开关默认关闭)。 漏洞影响范围: Shiro >= 0,