You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by GitBox <gi...@apache.org> on 2019/03/25 05:26:02 UTC

[GitHub] [shiro] tomsun28 opened a new pull request #127: fix the potential threat when use "uri = uri + '/' " to bypassed shi…

tomsun28 opened a new pull request #127: fix the potential threat when use  "uri = uri + '/' " to bypassed shi…
URL: https://github.com/apache/shiro/pull/127
 
 
   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
   
   this pr fix it

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services