Skip to content
KitploitKITPLOIT
OutilsExploitsBlog
Log in
Soumettre
OutilsExploitsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

FluxContactConfidentialité© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
CVE-2016-10033 — Threaded scanner and proof-of-concept exploit for CVE-2016-10033, the PHPMailer isMail Sender argument injection reachable via WordPress lost-password requests. | Kitploit
Outils/GitHubGitHub/jonathan1010/cve-2016-10033
ReconnaissanceVulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationPenetration Testing
GitHubjonathan1010/cve-2016-10033

CVE-2016-10033

Threaded scanner and proof-of-concept exploit for CVE-2016-10033, the PHPMailer isMail Sender argument injection reachable via WordPress lost-password requests.

Voir le dépôt
4 déc. 2026Pas encore vérifié
Partager
Contenu non disponible dans la langue demandée. Affichage de la version anglaise.

CVE-2016-10033

PHPMailer < 5.2.18 (isMail transport) - additional-parameter injection in the mail() call via a crafted Sender

Metadata

fieldvalue
CVECVE-2016-10033
severitycritical
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
fixed inPHPMailer 5.2.18 (the patch wraps the Sender in escapeshellarg() and gates it behind validateAddress() in mailSend(); shipped with WordPress 4.6.1 and 4.7)
classargument injection into the mail() additional parameters (CWE-88)
scanner version1.0.0
python3.8+ stdlib only, no third-party deps

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5TII

Summary

The mailSend function in the isMail transport of 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 the bundled WordPress copies this is reachable unauthenticated through the wp-login.php?action=lostpassword POST, whose Sender comes from the request itself. The entry is CISA KEV-listed with EPSS 0.99714.

Full description

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.

In 5.2.17 the isMail branch builds the additional-parameters string as sprintf('-f%s', $this->Sender) and hands it straight to mail(), with no escaping and no address validation, so the space-separated tokens of the Sender bleed into the sendmail command line as extra switches. The 5.2.18 patch (verified by diffing class.phpmailer.php v5.2.17 against v5.2.18) changes exactly that: $params = sprintf('-f%s', escapeshellarg($this->Sender)) plus a validateAddress() guard on every Sender use. Impact per the template: successful exploitation can lead to unauthorized remote code execution on the affected WordPress website. Remediation: upgrade PHPMailer to 5.2.18 or higher (WordPress 4.6.1 / 4.7 and later).

Detection model

  • Two requests, matching the template max-request: 2 and its raw pair:
    1. GET {BaseURL}/?author=1 - the username extractor regex Author:(?:[A-Za-z0-9 -_="]+)?<span(?:[A-Za-z0-9 -_="]+)?>([A-Za-z0-9]+)</span> (group 1) supplies user_login.
    2. POST {BaseURL}/wp-login.php?action=lostpassword with the crafted Sender carried as the Host line target(any -froot@localhost -be /bin/touch /tmp/success null) and body wp-submit=Get+New+Password&redirect_to=&user_login=<username>.
  • Word matcher on part: header: the header block of the second response must contain the literal string wp-login.php?checkemail=confirm.
  • Status matcher: the second response must be 302 (template unsafe: true, so the redirect is kept raw and not followed).
  • Vulnerable = word matcher AND status matcher, exactly like matchers-condition: and; the first response is only used for the extractor, never for the verdict.
  • Rows are streamed to the CSV as each worker finishes; the optional --json sidecar mirrors the same rows for tooling.

Usage

Scanner:

python scanner/CVE-2016-10033/scanner.py urls.txt [threads] [out.csv] [--json out.json]

urls.txt takes one target per line (# comments skipped, scheme auto-prepended when missing), e.g. 192.168.1.10:80 or http://192.168.1.10:80.

python exploit/CVE-2016-10033/exploit.py http://127.0.0.1:8099 [--csv out.csv] [--json out.json] [--verbose]

It replays the two raw requests, prints numbered checks 1 to 5, the result dict, and the final verdict line.

Example scanner output

RCE POC SUITE
 scanner : CVE-2016-10033 v1.0.0 (PHPMailer < 5.2.18 isMail, WordPress < 4.6.1 / 4.7)
 requests: GET /?author=1 then POST /wp-login.php?action=lostpassword
 threads : 4 | csv: cve10033.csv | json: cve10033.json
[2026-12-03 12:05:11] loaded 2 target(s) from urls.txt
[2026-12-03 12:05:11] [1/2] http://127.0.0.1:8099 -> VULNERABLE
[2026-12-03 12:05:11] [2/2] http://127.0.0.1:8100 -> not-vuln
[2026-12-03 12:05:11] summary: total=2 vulnerable=1 not-vuln=1 errors=0
[2026-12-03 12:05:11] timing : avg=6ms max=8ms wall=0.01s
[2026-12-03 12:05:11] report saved: cve10033.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided (scheme auto-prepended if missing)
statusok | error
vulnerableTrue/False verdict from check()
elapsed_msper-target timing
token12-char md5 over the JSON details (exec-vs-reflection proof)
result_b64base64(JSON) full details (both requests, sender, username, status, header/body heads, one boolean per matcher, matched)

Files

  • scanner/CVE-2016-10033/scanner.py - threaded black-box scanner, streamed CSV plus JSON sidecar.
  • exploit/CVE-2016-10033/exploit.py - POC with numbered checks and CSV/JSON export.
  • scanner/CVE-2016-10033/README.md - this file.
  • scanner/CVE-2016-10033/DESCRIPTION.md - technical notes.

Exit codes

codemeaning
0at least one target answered (scanner) / verification ok (exploit)
2every target errored (scanner) / verification failed (exploit)

References

  • Nuclei template: http/cves/2016/CVE-2016-10033.yaml (https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/http/cves/2016/CVE-2016-10033.yaml)
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2016-10033
  • Exploit-DB: https://www.exploit-db.com/exploits/40970/ and https://www.exploit-db.com/exploits/40968/
  • FullDisclosure: http://seclists.org/fulldisclosure/2016/Dec/78
Télécharger l’outil

Outils similaires

  • amass

    Cartographie approfondie de la surface d'attaque et découverte d'actifs

  • subfinder

    Outil rapide d'énumération passive de sous-domaines.

  • reconftw

    reconFTW est un outil conçu pour effectuer des reconnaissances automatisées sur un domaine cible en exécutant le meilleur ensemble d'outils pour réaliser des scans et découvrir des vulnérabilités.

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

  • 1

    Callisto

    jetp1ane/callisto

    Outil automatisé d'analyse de vulnérabilités binaires qui décompile des exécutables via Ghidra, analyse du pseudo-code C avec Semgrep, et valide les résultats en utilisant GPT-3.5-Turbo pour réduire les faux positifs.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Application d'exécution en un clic GhostLock (CVE-2026-43499)

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    Plateforme IMSI Catcher qui déploie une cellule GSM frauduleuse pour intercepter les SMS, injecter des messages et suivre les appareils mobiles

    721
  • 4

    opencti

    opencti-platform/opencti

    Plateforme ouverte de renseignement sur les cybermenaces

    535
  • 5

    ARTEX

    baarai/artex

    Plateforme autonome de tests d'intrusion multi-agents basée sur des LLM, avec agents planificateur/ouvrier, graphes d'actifs et d'exploration, enregistrement du trafic MITM et retest des vulnérabilités.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Outil de root Android pour Samsung Galaxy S25 Ultra (SM-S938B) qui enchaîne DirtyFrag CVE-2026-43284 et CVE-2026-43499 pour obtenir le root automatiquement au démarrage via KernelSU.

    419

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →