PHP · PHPMailer
CVE-2016-10033
PHPMailer Command Injection Vulnerability
چیست
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted Sender property.
CISA: PHPMailer contains a command injection vulnerability because it fails to sanitize user-supplied input. Specifically, this issue affects the 'mail()' function of 'class.phpmailer.php' script. An attacker can exploit this issue to execute arbitrary code within the context of the application. Failed exploit attempts will result in a denial-of-service condition.
چه باید کرد
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
مهلت برای نهادهای فدرال آمریکا: ۲۸ ژوئیهٔ ۲۰۲۵
- افزودهشده به فهرست CISA
- ۷ ژوئیهٔ ۲۰۲۵
- منتشرشده
- ۳۰ دسامبر ۲۰۱۶
- شدت
- بحرانی ۹٫۸ CVSS 3.1
- احتمال حمله در ۳۰ روز آینده (EPSS)
- ۹۹٫۷% در ۰٫۱% بالای همهٔ آسیبپذیریهای شناختهشده
- نوع ضعف
- CWE-77 CWE-88
- جزئیات بیشتر
- NVD · CVE.org · CISA
همهٔ منابع (20)
- http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
- https://www.drupal.org/psa-2016-004
- https://www.exploit-db.com/exploits/42221/
- https://www.exploit-db.com/exploits/40969/
- https://www.exploit-db.com/exploits/41962/
- https://www.exploit-db.com/exploits/40968/
- https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html
- https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18
- http://www.securityfocus.com/archive/1/539963/100/0/threaded
- https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities
- http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/40974/
- https://www.exploit-db.com/exploits/40986/
- https://www.exploit-db.com/exploits/40970/
- http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
- https://www.exploit-db.com/exploits/41996/
- http://seclists.org/fulldisclosure/2016/Dec/78
- http://www.securityfocus.com/bid/95108
- http://www.securitytracker.com/id/1037533
- https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html
آسیبپذیریهای دیگر PHP که مورد سوءاستفادهاند
| افزودهشده | آسیبپذیری | محصول | شدت | احتمال حمله |
|---|---|---|---|---|
| ۲۵ مارس ۲۰۲۲ | PHP-CGI Query String Parameter | PHP | بحرانی ۹٫۸ | >۹۹٫۹% |
| ۲۵ مارس ۲۰۲۲ | Buffer Overflow | FastCGI Process Manager (FPM) | بالا ۸٫۷ | ۹۹٫۷% |
منابع: Known Exploited Vulnerabilities (CISA، مالکیت عمومی)، CVE records (cve.org) و EPSS (FIRST). احتمال حمله برآورد EPSS از این است که کسی در ۳۰ روز آینده برای سوءاستفاده از این آسیبپذیری تلاش کند.