概要
認証なしで、ユーザー名だけ分かれば任意のパスワードでログインされるおそれ。
元の説明(英語)を読む
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.
影響を受ける人
認証キャッシュを有効にした LDAP レルムで Apache Shiro を使う開発者
対策
- Apache Shiro を 3.0.1 以降に更新する
- 更新できない間は認証キャッシュを無効にする
国内の動き
- Security NEXT(報道)↗11/16
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
リンクだけを載せる。中身は確かめていない。