
WordPressのRCEのためのPythonエクスプロイト
WordPress用プラグイン「File Manager (wp-file-manager)」のバージョン6.9未満では、安全でないサンプルelFinderコネクタファイルを.php拡張子にリネームするため、リモート攻撃者が任意のPHPコードをアップロードして実行できます。これにより、攻撃者はelFinderのupload(またはmkfileとput)コマンドを実行して、wp-content/plugins/wp-file-manager/lib/files/ディレクトリにPHPコードを書き込むことが可能です。この脆弱性は2020年8月から9月にかけて実際に悪用されました。
python3 exploit.py url command
python3 exploit.py http://wordpressite.com/ id
デプロイ方法:
git clone https://github.com/BLY-Coder/Python-exploit-CVE-2020-25213
run with python3