Test for arbitrary file read via double colon syntax
To test for an arbitrary file read vulnerability, try sending a GET request with a path that uses double colons (::) to traverse directories, such as ..::..::..::..::file.txt. This can be used to access sensitive files within the application's webroot, including those stored in the WEB-INF directory. Look for responses that contain the contents of the targeted file. This technique may be particularly effective against applications that use Java-based plugins or libraries, where the :: syntax is used to replace forward slashes (/) in file paths.
GET /download/resources/jira.webresources:color-picker-popup/images/..::..::..::..::..::WEB-INF::web.xml HTTP/1.1
Host: target.comFollow #atlassian or #file-read for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.