Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2016-10033 — PHPMailer isMail transport injects mail() arguments through Sender. Fixed in 5.2.18. Differential: arguments injected on vuln, refused on fixed | Kitploit
Tools/GitHubGitHub/googlesky/cve-2016-10033
ExploitationWeb Application ExploitationSecurity VirtualizationPayload DevelopmentLabs & Practice
GitHubgooglesky/cve-2016-10033

CVE-2016-10033

PHPMailer isMail transport injects mail() arguments through Sender. Fixed in 5.2.18. Differential: arguments injected on vuln, refused on fixed

View Repository
Nov 26, 2026Not yet reviewed
Share

CVE-2016-10033 — PHPMailer mail() argument injection RCE

License: MIT Research status: validated

CVECVE-2016-10033
ComponentPHPMailer — isMail transport
Affectedbefore 5.2.18
Fixed in5.2.18
CWECWE-88 (Argument Injection)
ImpactThe mailSend function passed a crafted Sender property to the mail command. A backslash-double-quote sequence could inject extra parameters and execute arbitrary code.
Vectorcrafted Sender field in a mail form
TriggerSender containing escape or shell metacharacters

The vulnerable path:

# pre-fix (model from PHPMailer security advisory)
attacker input accepted without the required protection

The derived guard:

# derived from observed behaviour, not copied from a vendor fix
reject backslash-quote and shell metacharacters in Sender

1. Root cause

The Sender value reached the shell command without validation. The fix validates it before calling mail().

2. Reproduction environment

serviceimagerole
pm33-vulncve-2016-10033:vulnvulnerable behaviour present
pm33-guardcve-2016-10033:guardfixed behaviour
poccve-2016-10033-poc:localstdlib-only Python driver

Both sides are Python 3.12 images. The vulnerable behaviour is modelled from PHPMailer security advisory; the guard is derived from the lab observation that the impact is reproduced. The fixed build applies the published upstream change.

3. Running the environment

./run-lab.sh build
./run-lab.sh up
./run-lab.sh sweep
./run-lab.sh down

The lab uses the isolated cve10033lab network and bounded containers.

4. The PoC

poc/poc.py takes a mode and an optional --host=...:

moderesult
checkexit 1 when arguments are injected, 0 when the Sender is refused
exploitruns the full chain and reports the observed impact
probeprints the injected flag
mitigationexplains the derived guard

A standalone exploit ships at exploit/exploit.py:

python3 exploit/exploit.py --host=pm33-vuln

It exits 1 on a confirmed finding and 0 on a guarded target.

5. Expected results

pm33-vuln (pre-fix)pm33-guard (derived)
crafted requestRCErefused
ordinary requestworksworks

Captured runs are in evidence/check-*-run.txt, evidence/exploit-*-run.txt, evidence/probe-*-run.txt, evidence/mitigation-*-run.txt, evidence/exploit-standalone-run.txt, evidence/exploit-standalone-fixed-run.txt, evidence/versions.txt and evidence/0day-sweep.txt.

6. Environment preconditions

Podman or Docker with the cve10033lab network. No production system is involved. Real-world exploitation needs an affected installation.

7. Additional findings (0-day sweep on the guarded build)

Ordinary requests still succeed on the fixed build.

8. Repository layout

README.md             this write-up
run-lab.sh            environment driver (build / up / sweep / down)
Makefile              convenience targets
poc/poc.py            the PoC (check / exploit / probe / mitigation)
exploit/exploit.py    standalone exploit
lab/harness-*.py      vulnerable behaviour / derived guard
lab/lab.Dockerfile    builds both sides
lab/service.py        HTTP wrapper (POST /check)
evidence/             captured runs on both sides
TRACKING.md           working record, excluded from the repo

9. References

  • CVE record — https://www.cve.org/CVERecord?id=CVE-2016-10033
  • Upstream advisory PHPMailer security advisory — https://nvd.nist.gov/vuln/detail/CVE-2016-10033

Related Tools

  • metasploit-framework

    Open-source exploitation framework with modular payload, encoder, and auxiliary system for penetration testing, vulnerability validation, and security research across networks and applications.

  • sqlmap

    Automatic SQL injection and database takeover tool

  • beef

    The Browser Exploitation Framework Project

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    742
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    710
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    521
  • 5

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    441
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    438

Explore all tools

Browse our collection of tools

View all tools →
Download Tool