PoC Monitor
← All CVEs
CVE-2016-10033published 30 Dec 2016 19:00 UTCData: JSON · API

PHP PHPMailer

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.

First public PoC 5.8 days beforebefore publication · 25 Dec 2016 · Exploit-DB
Public PoCs5846 on GitHub · 12 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-88
CISA KEV 7 Jul 20258.5 years after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

phpmailer/phpmailer (Packagist)
  • >= 5.0.0, < 5.2.18

Fixed in 5.2.18

from GitHub Security Advisory GHSA-5f37-gxvh-23v6

Mitigation

Upgrade phpmailer/phpmailer to 5.2.18 or later.

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 y+5 y+6 y+7 y+8 yFirst public PoC25 Dec 2016 · t−5.8dCVE published30 Dec 2016 · t = 0Added to CISA KEV7 Jul 2025 · t+8.5y

First public PoC 5.8 days before publication; added to CISA KEV 8.5 years after publication. First PoC: PHPMailer < 5.2.18 - Remote Code Execution (Exploit-DB, 25 Dec 2016).

PoC repositories

Found on GitHub.

46 PoCs · 6 pending · 2 informational · 2 not a PoC · 88 suspicious or fake

PoCs 46
RepositoryCreatedStarsAssessment
opsxcq/exploit-CVE-2016-10033 26 Dec 2016 −4.2 d 409 PoC
jatin-dwebguys/PHPMailer 28 Dec 2016 −2.3 d 0 PoC older repo: PoC date unknown, not used for the first PoC
paralelo14/CVE_2016-10033 29 Dec 2016 −1.2 d 7 PoC
afkpaul/smtp 3 Jan 2017 +3.7 d 0 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

rasisbade/allphp 5 Mar 2017 +64 d 0 PoC via PoC Index
vaartjesd/test 22 Apr 2017 +113 d 0 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

generalbao/phpmailer6 6 May 2017 +126 d 0 PoC via PoC Index
GeneralTesler/CVE-2016-10033 10 May 2017 +130 d 9 PoC
chipironcin/CVE-2016-10033 10 May 2017 +131 d 1 PoC
Bajunan/CVE-2016-10033 19 May 2017 +140 d 0 PoC
mayankbansal100/PHPMailer 20 May 2017 +141 d 0 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

gaguser/phpmailer 29 May 2017 +150 d 0 PoC via PoC Index
eminemdordie/mailer 16 Jul 2017 +198 d 0 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

liusec/WP-CVE-2016-10033 22 Jul 2017 +203 d 1 PoC
kylingit/vul_wordpress 25 Jul 2017 +207 d 0 PoC
Teeeiei/phpmailer 13 Oct 2017 +287 d 0 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

ifindu-dk/phpmailer 4 Nov 2017 +309 d 0 PoC via PoC Index
pedro823/cve-2016-10033-45 19 Nov 2017 +324 d 2 PoC
awidardi/opsxcq-cve-2016-10033 6 Feb 2018 +1.1 y 1 PoC
0x00-0x00/CVE-2016-10033 9 Feb 2018 +1.1 y 6 PoC
cved-sources/cve-2016-10033 17 Jan 2019 +2.0 y 0 PoC via PoC Index
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

kubota/exploit_PHPMail 3 Feb 2019 +2.1 y 0 PoC
denniskinyuandege/mailer 13 Nov 2019 +2.9 y 0 PoC via PoC Index
elhouti/ensimag-ssi-2019-20 9 Jan 2020 +3.0 y 0 PoC
cyberharsh/phpmailer 17 Aug 2020 +3.6 y 0 PoC
bigtunacan/phpmailer5 15 Sep 2020 +3.7 y 0 PoC via PoC Index
marco-comi-sonarsource/PHPMailer 21 Oct 2020 +3.8 y 0 PoC via PoC Index
MarcioPeters/PHP 23 Oct 2020 +3.8 y 1 PoC via PoC Index
j4k0m/CVE-2016-10033 31 Aug 2021 +4.7 y 1 PoC
zeeshanbhattined/exploit-CVE-2016-10033 5 Aug 2022 +5.6 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

BagmetDenis/exploits_scripts 13 Aug 2022 +5.6 y 0 PoC
777sot/PHPMailer 26 Nov 2022 +5.9 y 0 PoC via PoC Index
RakhithJK/Synchro-PHPMailer 18 Jan 2023 +6.0 y 0 PoC via PoC Index
RichardStwart/PHP 10 Mar 2023 +6.2 y 0 PoC via PoC Index
VenusPR/PHP 10 Mar 2023 +6.2 y 0 PoC via PoC Index
paulogmota/phpmailer-5.2.20-RCE 7 Apr 2024 +7.3 y 0 PoC
pitecozz/RCE-VUL 9 May 2024 +7.4 y 0 PoC via PoC Index
ElnurBDa/CVE-2016-10033 16 May 2024 +7.4 y 0 PoC
Astrowmist/POC-CVE-2016-10033 22 May 2024 +7.4 y 0 PoC
aquahubtest4/ops 30 Dec 2024 +8.0 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

aquahubtest5/ops 3 Jan 2025 +8.0 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Anurag168/php-mailer 22 Apr 2025 +8.3 y 0 PoC via PoC Index
sealldeveloper/CVE-2016-10033-PoC 25 Apr 2025 +8.3 y 0 PoC
agente945/worm 25 Jun 2025 +8.5 y 1 PoC
alexander47777/CVE-2016-10033 11 Aug 2025 +8.6 y 0 PoC
blue-chocolates/CVE-2016-10033 24 Jul 2026 +9.6 y 0 PoC
Pending 6
RepositoryCreatedStarsAssessment
gnikita01/hackedemistwebsite 20 Dec 2017 +355 d 0 Pending · repository exceeds size limit via PoC Index
natsootail/alumni 27 Nov 2018 +1.9 y 1 Pending · repository exceeds size limit via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

vatann07/BloodConnect 24 May 2019 +2.4 y 0 Pending · repository exceeds size limit via PoC Index
mohamed-aymen-ellafi/web 22 Nov 2019 +2.9 y 0 Pending · repository exceeds size limit via PoC Index
rohandavid/fitdanish 2 Dec 2019 +2.9 y 0 Pending · repository exceeds size limit via PoC Index
supreethsk/rental 16 Apr 2020 +3.3 y 0 Pending · repository exceeds size limit via PoC Index
Informational 2
RepositoryCreatedStarsAssessment
Zenexer/safeshell 29 Dec 2016 −1.4 d 8 Informational · write-up
anishbhut/simpletest 20 May 2017 +140 d 0 Informational · list
Not a PoC 2
RepositoryCreatedStarsAssessment
heikipikker/exploit-CVE-2016-10034 17 Oct 2017 +291 d 0 Not a PoC · unrelated
sealldeveloper/CVE-2016-2098-PoC 25 Apr 2025 +8.3 y 0 Not a PoC · unrelated
Suspicious or fake 88
RepositoryCreatedStarsAssessment
vedavith/mailer 20 Dec 2017 +355 d 0 Fake
KNIGHTTH0R/PHPMail 23 Dec 2017 +358 d 0 Fake
Lu183/phpmail 25 Jan 2018 +1.1 y 0 Fake
luxiaojue/phpmail 25 Jan 2018 +1.1 y 0 Fake
antelove19/phpmailer 25 Jan 2018 +1.1 y 0 Fake
gtasaif/PHPMailer 7 Feb 2018 +1.1 y 0 Fake
huongbee/mailer0112 9 Mar 2018 +1.2 y 0 Fake
mkrdeptcreative/PHPMailer 13 Mar 2018 +1.2 y 0 Fake
alexandrazlatea/emails 22 Apr 2018 +1.3 y 0 Fake
ashiqdey/PHPmailer 24 Apr 2018 +1.3 y 0 Fake
crackerica/PHPMailer2 6 May 2018 +1.3 y 0 Fake
madbananaman/L-Mailer 11 May 2018 +1.4 y 0 Fake
izisoft/yii2-mailer 21 May 2018 +1.4 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

SecRet-501/PHPMailer 24 May 2018 +1.4 y 0 Fake
sankar-rgb/PHPMailer 26 May 2018 +1.4 y 0 Fake
aegunasekara/PHPMailer 2 Jun 2018 +1.4 y 0 Fake
aegunasekaran/PHPMailer 2 Jun 2018 +1.4 y 0 Fake
tvirus-01/PHP_mail 6 Jun 2018 +1.4 y 0 Fake
duhengchen1112/demo 28 Jun 2018 +1.5 y 0 Fake
rudresh98/e_commerce_IFood 17 Jul 2018 +1.5 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Rachna-2018/email 23 Jul 2018 +1.6 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

huongbee/mailer0505 24 Jul 2018 +1.6 y 0 Fake
nyamleeze/commit_testing 9 Aug 2018 +1.6 y 0 Fake
entraned/PHPMailer 9 Sep 2018 +1.7 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

jamesxiaofeng/sendmail 12 Sep 2018 +1.7 y 0 Fake
sarvottam1766/Project 17 Sep 2018 +1.7 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

rrathi0705/email 30 Sep 2018 +1.7 y 0 Fake
frank850219/PHPMailerAutoSendingWithCSV 4 Oct 2018 +1.8 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

codersstock/PhpMailer 14 Nov 2018 +1.9 y 0 Fake
zhangqiyi55/phpemail 19 Nov 2018 +1.9 y 0 Fake
Sakanksha07/Journey-With-Food 20 Nov 2018 +1.9 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

alokdas1982/phpmailer 21 Nov 2018 +1.9 y 0 Fake
MIrfanShahid/PHPMailer 4 Dec 2018 +1.9 y 0 Fake
pctechsupport123/php 24 Dec 2018 +2.0 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Razzle23/mail-3 5 Jan 2019 +2.0 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

gzy403999903/PHPMailer 17 Feb 2019 +2.1 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

fatfishdigital/phpmailer 28 Feb 2019 +2.2 y 0 Fake
prostogorod/PHPMailer 7 Mar 2019 +2.2 y 0 Fake
JesusAyalaEspinoza/p 28 Mar 2019 +2.2 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

lcscastro/RecursoFunctionEmail 17 Apr 2019 +2.3 y 0 Fake
anushasinha24/send-mail-using-PHPMailer 14 May 2019 +2.4 y 0 Fake
laddoms/faces 2 Aug 2019 +2.6 y 0 Fake
dp7sv/ECOMM 29 Sep 2019 +2.7 y 0 Fake
Hehhchen/eCommerce 29 Sep 2019 +2.7 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Keshav9863/MFA_SIGN_IN_PAGE 3 Oct 2019 +2.8 y 0 Fake
inusah42/ecomm 27 Oct 2019 +2.8 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

lanlehoang67/sender 21 Dec 2019 +3.0 y 0 Fake
geet56/geet22 17 Jan 2020 +3.0 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

ThatsSacha/forum 31 Jan 2020 +3.1 y 1 Fake
im-sacha-cohen/forum 31 Jan 2020 +3.1 y 1 Fake
leocifrao/site-restaurante 19 Feb 2020 +3.1 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

leftarmm/speexx 25 Feb 2020 +3.2 y 0 Fake
Brens498/AulaMvc 13 Apr 2020 +3.3 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

jbperry1998/bd_calendar 17 Apr 2020 +3.3 y 0 Fake
zakiaafrin/PHPMailer 19 Apr 2020 +3.3 y 0 Fake
jaimedaw86/repositorio-DAW06_PHP 27 Apr 2020 +3.3 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

jeddatinsyd/PHPMailer 30 Apr 2020 +3.3 y 0 Fake
bkrishnasowmya/OTMS-project 8 May 2020 +3.4 y 0 Fake
grayVTouch/phpmailer 25 May 2020 +3.4 y 0 Fake
jesusclaramontegascon/PhpMailer 7 Jun 2020 +3.4 y 0 Fake
morkamimi/poop 27 Jun 2020 +3.5 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

sakshibohra05/project 12 Jul 2020 +3.5 y 0 Fake
athirakottekadnew/testingRepophp 28 Jul 2020 +3.6 y 0 Fake
devhribeiro/cadweb_aritana 12 Sep 2020 +3.7 y 0 Fake
SeffuCodeIT/phpmailer 28 Sep 2020 +3.7 y 0 Fake
Jack-LaL/idk 25 Oct 2020 +3.8 y 0 Fake
Ramkiskhan/sample 4 Nov 2020 +3.8 y 0 Fake
windypermadi/PHP-Mailer 16 Nov 2020 +3.9 y 0 Fake
dipak1997/Alumni-M 16 May 2021 +4.4 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

fatihbaba44/PeakGames 2 Jun 2021 +4.4 y 0 Fake
fatihulucay/PeakGames 2 Jun 2021 +4.4 y 0 Fake
sashasimulik/integration-1 13 Sep 2021 +4.7 y 0 Fake
faraz07-AI/fullstack-Jcomp 6 Oct 2021 +4.8 y 0 Fake
arbaazkhanrs/Online_food_ordering_system 17 Jun 2022 +5.5 y 1 Fake
ank0809/Responsive-login-register-page 1 Aug 2022 +5.6 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

ivankznru/PHPMailer 17 Aug 2022 +5.6 y 0 Fake
Mugdho55/Air_Ticket_Management_System 22 Aug 2022 +5.6 y 0 Fake
Preeti1502kashyap/loginpage 23 Jan 2023 +6.1 y 0 Fake
PatelMisha/Online-Flight-Booking-Management-System 29 Mar 2023 +6.2 y 1 Fake
clemerribeiro/cbdu 5 Apr 2023 +6.3 y 0 Fake
dylangerardf/dhl 6 Apr 2023 +6.3 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

dylangerardf/dhl-supp 6 Apr 2023 +6.3 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Mona-Mishra/User-Registration-System 9 Jun 2024 +7.4 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

sweta-web/Online-Registration-System 14 Jun 2024 +7.5 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Niveditakm/homeRental 11 Jan 2025 +8.0 y 0 Fake
jairo0823/capstone 23 Mar 2025 +8.2 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Awsafaneh/smm 16 May 2025 +8.4 y 0 Fake
Guangyang-Sunlight/php-phpmailer 6 Jun 2025 +8.4 y 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
CVE record (tagged exploit)40968unknown14 Nov 2026
CVE record (tagged exploit)40969unknown14 Nov 2026
CVE record (tagged exploit)40970unknown14 Nov 2026
CVE record (tagged exploit)40974unknown14 Nov 2026
CVE record (tagged exploit)40986unknown14 Nov 2026
CVE record (tagged exploit)41962unknown14 Nov 2026
CVE record (tagged exploit)41996unknown14 Nov 2026
CVE record (tagged exploit)42024unknown14 Nov 2026
CVE record (tagged exploit)42221unknown14 Nov 2026
Exploit-DBPHPMailer < 5.2.18 - Remote Code Execution26 Dec 201614 Nov 2026
Exploit-DBPHPMailer < 5.2.20 - Remote Code Execution27 Dec 201614 Nov 2026
Exploit-DBPHPMailer < 5.2.18 - Remote Code Execution25 Dec 201614 Nov 2026
Exploit-DBPHPMailer < 5.2.18 - Remote Code Execution29 Dec 201614 Nov 2026
Exploit-DBPHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution2 Jan 201714 Nov 2026
Exploit-DBWordPress Core 4.6 - Remote Code Execution3 May 201714 Nov 2026
Exploit-DBVanilla Forums < 2.3 - Remote Code Execution11 May 201714 Nov 2026
Exploit-DBWordPress Plugin PHPMailer 4.6 - Host Header Command Injection (Metasploit)17 May 201714 Nov 2026
Exploit-DBPHPMailer < 5.2.20 with Exim MTA - Remote Code Execution21 Jun 201714 Nov 2026
MetasploitMetasploit exploit: PHPMailer Sendmail Argument Injection (exploit/multi/http/phpmailer_arg_injection)unknown14 Nov 2026
MetasploitMetasploit exploit: WordPress PHPMailer Host Header Command Injection (exploit/unix/webapp/wp_phpmailer_host_header)unknown14 Nov 2026
nuclei templatenuclei template: WordPress PHPMailer < 5.2.18 - Remote Code Executionunknown14 Nov 2026
PoC Indexhttp://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injectionunknown14 Nov 2026
PoC Indexhttps://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.htmlunknown14 Nov 2026

PoC characteristics

What to hunt for in your logs · from 52 PoC repos

POST /

Body markers
$------WebKitFormBoundaryzXJpHSq4mNy35tHe\r\nContent-Disposition: form-data; name="action"\r\n\r\nsubmit\r\n------WebKit user_login=admin redirect_to= wp-submit=Get New Password in multipart/form-data; boundary=----WebKitFormBoundaryzXJpHSq4mNy35tHe
Ports
7002, 8080
PoC User-Agent
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
Seen in
9 repos: aquahubtest4/ops, aquahubtest5/ops, awidardi/opsxcq-cve-2016-10033, cyberharsh/phpmailer, elhouti/ensimag-ssi-2019-20, kylingit/vul_wordpress, opsxcq/exploit-CVE-2016-10033, pedro823/cve-2016-10033-45, zeeshanbhattined/exploit-CVE-2016-10033
Evidence
aquahubtest4/ops/deface.sh:30 aquahubtest4/ops/exploit.sh:29 aquahubtest5/ops/deface.sh:30 aquahubtest5/ops/exploit.sh:29 awidardi/opsxcq-cve-2016-10033/deface.sh:30 awidardi/opsxcq-cve-2016-10033/exploit.sh:29

POST /wp-login.php

Query
action=lostpassword
Key headers
Accept: */*
Body markers
user_login=admin wp-submit=Get New Password redirect_to= in application/x-www-form-urlencoded
Ports
8000, 8080
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0 Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
Seen in
5 repos: Bajunan/CVE-2016-10033, ElnurBDa/CVE-2016-10033, chipironcin/CVE-2016-10033, kylingit/vul_wordpress, liusec/WP-CVE-2016-10033
Evidence
Bajunan/CVE-2016-10033/rce.sh:166 Bajunan/CVE-2016-10033/rce.sh:172 ElnurBDa/CVE-2016-10033/exploit.sh:34 ElnurBDa/CVE-2016-10033/exploit.sh:43 chipironcin/CVE-2016-10033/wordpress-rce-exploit.sh:84 chipironcin/CVE-2016-10033/wordpress-rce-exploit.sh:94

POST /contact.php

Key headers
Accept: text/html, */*; q=0.01 Accept-Language: en-US,en;q=0.5 Origin: http://raven.local Priority: u=0 Referer: http://raven.local/contact.php X-Requested-With: XMLHttpRequest
Body markers
action=submit name=test email= subject=test message= subject=SHELL IS ACTIVATED message=shell approved name=<?php system("nc -e /bin/bash email="injection\" -OQueueDirectory=/tmp -X/var/www/html/shell.php server" @pwnd.com in application/x-www-form-urlencoded; charset=UTF-8
Ports
8080
PoC User-Agent
Mozilla/5.0 Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Seen in
2 repos: BagmetDenis/exploits_scripts, alexander47777/CVE-2016-10033
Evidence
BagmetDenis/exploits_scripts/cve-2016-10033/main.py:24 alexander47777/CVE-2016-10033/exploit.py:56

GET /bd1.php

Content-Type
{var}
PoC User-Agent
curl/7.47.0
Seen in
1 repo: blue-chocolates/CVE-2016-10033
Evidence
blue-chocolates/CVE-2016-10033/40974.py:58

GET /shell.php

Ports
8080
Seen in
1 repo: alexander47777/CVE-2016-10033
Evidence
alexander47777/CVE-2016-10033/exploit.py:61

GET /{var}

Query
0=id 0=
Content-Type
application/x-www-form-urlencoded
Ports
8000, 8080
PoC User-Agent
curl/7.47.0
Seen in
1 repo: sealldeveloper/CVE-2016-10033-PoC
Evidence
sealldeveloper/CVE-2016-10033-PoC/script.py:106 sealldeveloper/CVE-2016-10033-PoC/script.py:131

GET /{var}/phpbackdoor{var}.php

Seen in
1 repo: pitecozz/RCE-VUL
Evidence
pitecozz/RCE-VUL/PHPMaller_RCE_exploit.py:126

POST //contact.php

Content-Type
{var}
PoC User-Agent
curl/7.47.0
Seen in
1 repo: blue-chocolates/CVE-2016-10033
Evidence
blue-chocolates/CVE-2016-10033/40974.py:56

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /backdoor.php
(?i)^/backdoor\.php\?(?:.*&)?cmd=\$cmd.*cmd=\$\(echo
POST /
(?i)^/(?:[?#].*)?$
HEAD /backdoor.php)
(?i)^/backdoor\.php\)(?:[?#].*)?$
POST /wp-login.php
(?i)^/wp-login\.php\?(?:.*&)?action=lostpassword
POST /contact.php
(?i)^/contact\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /backdoor.php
alert http any any -> $HOME_NET [7002,8080] (msg:"GG PoC-Monitor CVE-2016-10033 PHP PHPMailer exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/backdoor.php"; http.uri; content:"cmd=$cmd"; http.uri; content:"cmd=$(echo"; reference:url,poc.griffinguard.io/cve/CVE-2016-10033; classtype:web-application-attack; sid:9572363; rev:1;)
POST /
alert http any any -> $HOME_NET [7002,8080] (msg:"GG PoC-Monitor CVE-2016-10033 PHP PHPMailer exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"$------WebKitFormBoundaryzXJpHSq4mNy35tHe|5c|r|5c|nContent-Disposition: form-data|3b| name=|22|action|22||5c|r|5c|n|5c|r|5c|nsubmit|5c|r|5c|n------WebKit"; http.request_body; content:"user_login=admin"; http.request_body; content:"redirect_to="; http.request_body; content:"wp-submit=Get New Password"; reference:url,poc.griffinguard.io/cve/CVE-2016-10033; classtype:web-application-attack; sid:9546754; rev:1;)
HEAD /backdoor.php)
alert http any any -> $HOME_NET [7002,8080] (msg:"GG PoC-Monitor CVE-2016-10033 PHP PHPMailer exploit attempt"; flow:established,to_server; http.method; content:"HEAD"; http.uri; content:"/backdoor.php)"; reference:url,poc.griffinguard.io/cve/CVE-2016-10033; classtype:web-application-attack; sid:9749986; rev:1;)
POST /wp-login.php
alert http any any -> $HOME_NET [8000,8080] (msg:"GG PoC-Monitor CVE-2016-10033 PHP PHPMailer exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-login.php"; http.uri; content:"action=lostpassword"; http.header; content:"Accept: */*"; nocase; http.request_body; content:"user_login=admin"; http.request_body; content:"wp-submit=Get New Password"; http.request_body; content:"redirect_to="; reference:url,poc.griffinguard.io/cve/CVE-2016-10033; classtype:web-application-attack; sid:9565451; rev:1;)
POST /contact.php
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2016-10033 PHP PHPMailer exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/contact.php"; http.header; content:"Accept: text/html, */*|3b| q=0.01"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Origin: http://raven.local"; nocase; http.header; content:"Priority: u=0"; nocase; http.header; content:"Referer: http://raven.local/contact.php"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"action=submit"; http.request_body; content:"name=test"; http.request_body; content:"email="; http.request_body; content:"subject=test"; http.request_body; content:"message="; http.request_body; content:"subject=SHELL IS ACTIVATED"; http.request_body; content:"message=shell approved"; http.request_body; content:"name=<?php system(|22|nc -e /bin/bash"; http.request_body; content:"email=|22|injection|5c||22| -OQueueDirectory=/tmp -X/var/www/html/shell.php server|22| @pwnd.com"; reference:url,poc.griffinguard.io/cve/CVE-2016-10033; classtype:web-application-attack; sid:9567212; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /backdoor.php
title: PHP PHPMailer exploit attempt (CVE-2016-10033)
id: gg-pocmon-cve-2016-10033-9572363
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-10033. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-10033
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/backdoor.php'
    cs-uri-query|contains|all:
      - 'cmd=$cmd'
      - 'cmd=$(echo'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.10033
POST /
title: PHP PHPMailer exploit attempt (CVE-2016-10033)
id: gg-pocmon-cve-2016-10033-9546754
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-10033. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-10033
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.10033
HEAD /backdoor.php)
title: PHP PHPMailer exploit attempt (CVE-2016-10033)
id: gg-pocmon-cve-2016-10033-9749986
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-10033. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-10033
logsource:
  category: webserver
detection:
  selection:
    cs-method: HEAD
    cs-uri-stem|contains|all:
      - '/backdoor.php)'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.10033
POST /wp-login.php
title: PHP PHPMailer exploit attempt (CVE-2016-10033)
id: gg-pocmon-cve-2016-10033-9565451
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-10033. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-10033
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/wp-login.php'
    cs-uri-query|contains|all:
      - 'action=lostpassword'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.10033
POST /contact.php
title: PHP PHPMailer exploit attempt (CVE-2016-10033)
id: gg-pocmon-cve-2016-10033-9567212
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-10033. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2016-10033
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/contact.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2016.10033