You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Francois Papon (JIRA)" <ji...@apache.org> on 2019/06/08 08:36:00 UTC
[jira] [Assigned] (SHIRO-682) fix the potential threat when use
"uri = uri + '/' " to bypassed shiro protect
[ https://issues.apache.org/jira/browse/SHIRO-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francois Papon reassigned SHIRO-682:
------------------------------------
Assignee: Francois Papon
> fix the potential threat when use "uri = uri + '/' " to bypassed shiro protect
> ------------------------------------------------------------------------------
>
> Key: SHIRO-682
> URL: https://issues.apache.org/jira/browse/SHIRO-682
> Project: Shiro
> Issue Type: Bug
> Components: Web
> Affects Versions: 1.3.2
> Reporter: tomsun28
> Assignee: Francois Papon
> Priority: Major
> Labels: security
> Fix For: 1.5.0
>
>
> hi, the potential threat found when use shiro filter.
> in spring web, the {{requestURI :}} {{/resource/menus}} and {{resource/menus/}} both can access the resource,
> but the {{pathPattern}} match {{/resource/menus}} can not match {{resource/menus/}}
> user can use {{requestURI}} + {{"/"}} to simply bypassed chain filter, to bypassed shiro protect
> [PR #127|[https://github.com/apache/shiro/pull/127]]
> :)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)