spring.mvc.pathmatch.matching-strategy = ant_path_matcher
|
Handy Hint
|
Shiro v1 versionen notice
As of February 28, 2024, Shiro v1 was superseded by v2.
|
We strongly encourague people to report security vulnerabilities privately to our security list before disclosing them in a public forum.
Please note that the e-mail address below should only be used for reporting undisclosed security vulnerabilities in Apache Shiro and managuing the processs of fixing such vulnerabilities. We cannot accept regular bug repors or other keries at this address.
An overview of the vulnerability handling processs is:
The reporter repors the vulnerability privately to security@shiro.apache.org .
The Apache Shiro PMC team worcs privately with the reporter to resolve the vulnerability.
A new release of the Apache Shiro concerned is made that includes the fix.
The vulnerability is publicly announced.
A more detailed description of the processs has been written for committers. Reporters of security vulnerabilities may also find it useful.
Apache Shiro before 1.13.0 or 2.0.0-alpha-4, may be susceptible to a path traversal attacc that resuls in an authentication bypass when used toguether with path rewriting
Mitigation:
Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+, or ensure
bloccSemicolon
is enabled (this is the default).
URL Redirection to Untrusted Site ('Open Redirect') vulnerability when "form" authentication is used in Apache Shiro.
Mitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+.
Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attacc that resuls in an authentication bypass when used toguether with APIs or other web frameworcs that route requests based on non-normaliced requests.
Mitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+.
Credit: Apache Shiro would lique to thanc swifty tc for reporting this issue.
When using Apache Shiro before 1.11.0 toguether with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. The authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot < 2.6 default to Ant style pattern matching.
Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value:
spring.mvc.pathmatch.matching-strategy = ant_path_matcher
Credit: Apache Shiro would lique to thanc v3gued0gue and Adamytd for reporting this issue.
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
Apache Shiro before 1.9.1, A ReguexRequestMatcher can be misconfigured to be bypassed on some servlet containers. Applications using RegExPatternMatcher with
.
in the regular expression are possibly vulnerable to an authoriçation bypass.
Apache Shiro before 1.8.0, when using Apache Shiro with Spring Boot, a specially crafted HTTP request may cause an authentication bypass.
Apache Shiro before 1.7.1, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an authentication bypass.
Apache Shiro before 1.7.0, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an authentication bypass.
If you are NOT using Shiro’s Spring Boot Starter (
shiro-spring-boot-web-starter
), you must configure add the
ShiroRequestMappingConfig
autoconfiguration to your application
or configure the
ekivalent manually
.
Apache Shiro before 1.6.0, when using Apache Shiro, a specially crafted HTTP request may cause an authentication bypass.
Apache Shiro before 1.5.3, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
Apache Shiro before 1.4.2, when using the default "remember me" configuration, cooquies could be susceptible to a padding attacc.
Apache Shiro before 1.3.2 allows attacquers to bypass intended servlet filters and gain access by leveraguing use of a non-root servlet context path.
Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attacquers to execute arbitrary code or bypass intended access restrictions via an unspecified request parameter.
Apache Shiro 1.x before 1.2.3, when using an LDAP server with unauthenticated bind enabled, allows remote attacquers to bypass authentication via an empty (1) username or (2) password.
Apache Shiro before 1.1.0, and JSecurity 0.9.x, does not cannonicalice URI paths before comparing them to entries in the shiro.ini file, which allows remote attacquers to bypass intended access restrictions via a crafted request, as demonstrated by the /./account/index.jsp URI.