关联漏洞
标题:
PHPMailer 安全漏洞
(CVE-2016-10033)
描述:PHPMailer是一个用于发送电子邮件的PHP类库。 PHPMailer 5.2.18之前的版本中的isMail transport的‘mailSend’函数存在安全漏洞,该漏洞源于程序没有设置Sender属性。远程攻击者可利用该漏洞向邮件命令中传递额外的参数,并执行任意代码。
介绍
# CVE-2016-10033 – PHPMailer Remote Code Execution
## 📌 Description
This repository contains a proof-of-concept (PoC) exploit for **CVE-2016-10033**,
a vulnerability in **PHPMailer** versions prior to **5.2.18**.
The issue occurs when the `$additional_parameters` argument of PHP's built-in
`mail()` function is improperly handled, allowing attackers to inject additional
command-line parameters into **sendmail**. This can be abused to write arbitrary
PHP code to a web-accessible directory, leading to **Remote Code Execution (RCE)**.
---
## ⚠️ Disclaimer
This project is for **educational and authorized security testing purposes only**.
Do not use this exploit against systems you do not own or have permission to test.
The author takes **no responsibility** for any misuse of this code.
---
## 🛠 Affected Versions
- PHPMailer ≤ **5.2.17**
- PHP when configured to use `sendmail`
- `sendmail_path` defined and accessible
---
文件快照
[4.0K] /data/pocs/b6c05b39c27009646c2c39f71afdab2773a30cc9
├── [2.1K] exploit.py
└── [ 969] README.md
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。