关联漏洞
标题:WordPress Plugin POST SMTP Mailer 安全漏洞 (CVE-2023-6875)Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress Plugin POST SMTP Mailer 2.8.7 及之前版本存在安全漏洞,该漏洞源于连接应用程序 REST 端点上存在类型杂乱问题,插件很容易受到未经授权的数据访问和数据修改。
Description
CVE-2023-6875 exploit written for Xakep.Ru
介绍
## What the exploit does
- Places a token that allows you to view mail.
- Finds the admin's username; if it can't find it, then sets "admin" as the default.
- It requests a link to reset the admin's password, which is emailed to the admin.
- Uses the token placed in the first step and examines the mail logs.
- Selects the most recent log, which contains a link to reset the password.
- Resets the password using the link received in the previous step.
- Logs in as the admin.
- Uploads the shell (a file named shell.zip, which contains a shell).

## Usage
1. **Clone:** Clone this repository.
2. **Install Golang:** Install the latest Golang from https://go.dev/dl/. For example:
```
wget https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version
```
2. **Run the exploit:**
```
go run exploit.go https://example.com
```
## Author
Exploit is developed by az_AZ
文件快照
[4.0K] /data/pocs/3a8c3ea2e7f6dfce9904983d748481dc32c12878
├── [ 15K] exploit.go
├── [1.0K] README.md
└── [ 197] shell.zip
0 directories, 3 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮件到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对 POC 代码进行快照,为了长期维护,请考虑为本地 POC 付费/捐赠,感谢您的支持。