HIGH
GHSA-x96m-rh44-vgv8
Apache Shiro: LDAP DN Injection in DefaultLdapRealm
상세
A remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultLdapRealm class. User-supplied username input is directly concatenated into the LDAP DN template without any escaping of RFC 2253 special characters. This allows an attacker to manipulate the DN structure used for LDAP bind authentication, potentially bypassing authentication or impersonating other users.
This issue affects all Apache Shiro versions through 2.2.0, and 3.0.0-alpha-1 when using DefaultLdapRealm Upgrade to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later, which fixes the issue.
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
Maven / org.apache.shiro:shiro-core
최초 영향 버전:
0 수정 버전: 2.2.1 수정
# pom.xml: bump <version>2.2.1</version> for org.apache.shiro:shiro-core Maven / org.apache.shiro:shiro-core
최초 영향 버전:
3.0.0-alpha-0 수정 버전: 3.0.0-alpha-2 수정
# pom.xml: bump <version>3.0.0-alpha-2</version> for org.apache.shiro:shiro-core