SQL injection in Roundcube search/search_params
CVE-2021-44026 is a SQL injection vulnerability in Roundcube Webmail affecting versions before 1.3.17 and 1.4.x before 1.4.12. According to the provided content, the issue is reachable via the search or search_params functionality. Improper handling of attacker-controlled input in these parameters can allow crafted input to alter backend SQL queries. The content also notes this vulnerability was exploited by APT28/GRU unit 26165 as part of operations against webmail infrastructure, where Roundcube flaws were used to access and exfiltrate email data.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a chained XSS and SQL injection exploit targeting a webmail application (likely Roundcube or similar). The main Python script (exploit_chain_xss_sqli.py) acts as both a C2 server and a tool to send a crafted email containing a base64-encoded JavaScript payload. When the victim opens the email, the payload loads an external JavaScript file (x-fetch-sqli.js) from the attacker's server. This script performs a SQL injection attack via the webmail interface, manipulates session variables, and ultimately exfiltrates sensitive session data (such as session IDs and variables) back to the attacker's C2 server. The repository is structured with a Python server and a JavaScript payload, demonstrating a full attack chain from initial delivery to data exfiltration. The exploit requires the attacker to control an SMTP account and a C2 server, and the target must be vulnerable to both XSS and SQL injection in the webmail interface.
This repository provides a working exploit for Roundcube webmail vulnerabilities CVE-2021-44026 (SQL injection) and CVE-2020-35730 (XSS). The exploit consists of a Python script (exploit.py) that acts as both an email sender and a Flask-based C2 server, and a JavaScript payload (static/fetcher.js) that is delivered to the victim via a crafted email. The attack chain is as follows: (1) The attacker runs exploit.py, which sends a malicious email to the target user. (2) When the target opens the email in a vulnerable Roundcube instance, the embedded XSS payload executes, loading fetcher.js from the attacker's server. (3) fetcher.js performs a SQL injection to extract session variables and emails, then exfiltrates this data as a vCard to the attacker's /store endpoint. The repository is well-structured, with clear separation between the exploit logic (Python) and the client-side payload (JavaScript). The exploit is operational and demonstrates a full attack chain, including exfiltration of sensitive data from the target.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.