Details
- 
    Task 
- 
    Resolution: Fixed
- 
    Major 
- 
    16.10.6
- 
    None
- 
        Unit
- 
        Unknown
- 
        N/A
- 
        N/A
- 
        
Description
In an application server, ClassLoader#getResource and ClassLoader#getResourceAsStream can be fooled by path traversal syntaxes (../) to go read files which are not really support to be part of the classloader.
To make it easier to avoid this problem, it would be nice to produce a tool with a protection against that.
Attachments
Issue Links
- blocks
- 
                    XWIKI-19350 Configuration files can be accessed through webjars API -         
- Closed
 
-         
- 
                    XWIKI-23109 Configuration files can be accessed through jsx and sx endpoints -         
- Closed
 
-         
- causes
- 
                    XCOMMONS-3332 Issues when creating and running an instance of XWiki 16.10.7 on Windows -         
- Closed
 
-