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-2021-44026 — A demo exploit for CVE-2021-44026, a SQL injection in Roundcube | Kitploit
Tools/GitHubGitHub/shanglyu/roundcube-cve-2021-44026
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubshanglyu/roundcube-cve-2021-44026

roundcube-cve-2021-44026

A demo exploit for CVE-2021-44026, a SQL injection in Roundcube

View Repository
132 years 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.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    627
  • 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.

    413
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    350
  • 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.

    329
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    283

Explore all tools

Browse our collection of tools

View all tools →
Share

Roundcube CVE-2021-44026, a SQL injection

This repository contains a demo exploit for an SQL injection in Roundcube.

Disclaimer:

This code is intended solely for educational purposes and to assist security teams in identifying vulnerabilities in their Roundcube instances. It should only be used in ethical hacking engagements in which the security professional has written authorization to ethically exploit the target(s) included in the scope. The authors are not liable for any misuse or illegal use of this exploit code.

Usage

usage: exploit.py [-h] smtp_server smtp_port sender_email sender_password target_email c2_server

Roundcube CVE-2020-35730 & CVE-2021-44026 exploit  

positional arguments:

  smtp_server      Sender SMTP server name

  smtp_port        Sender SMTP server port

  sender_email     Sender email address

  sender_password  Sender email password for logging into the SMTP server

  target_email     Target email address

  c2_server        The URL on which the C2 server will listen

  

optional arguments:

  -h, --help       show this help message and exit

When ran, the code starts a Flask server, c2_server in the code, which does the exploit in two steps:

  1. It sends an email to a target from a given sender address. This email contains an exploit for another Roundcube vulnerability, an XSS tracked as CVE-2020-35730. We use it to send the requests necessary for the SQL injection from an authenticated session. All the JavaScript code that runs on the client side is instatic/fetcher.js
  2. The JavaScript code extracts all the sessions from the database and sends them back to the C2 server as a VCARD. On the server side, the session variables are extracted from the VCARD. For each authenticated session the code extracts the most recent emails received.

Note: You can use a Gmail account as the sender's email. Use stmp.gmail.com for the server and 587 for the port. Configure a password just for this usage by following the guide here.

Download Tool