Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
Description
The xpart.vm template do :
#set ($vm = $request.vm)
#template("xwikivars.vm")
#template($vm)
So if vm == ../WEB-INF/xwiki.cfg, we can get the xwiki.cfg file, or any other file without having any account on the wiki.
for exemple: http://victim.com/xwiki/bin/login/XWiki/XWikiLogin?xpage=xpart&vm=../WEB-INF/xwiki.cfg
Attachments
Issue Links
- duplicates
-
XWIKI-2580 Improve file access sandboxing
- Closed