Hastymail2 versions before 2.1.1 RC2 contain an OS command injection vulnerability in the mailbox Drafts action. The action passes attacker-controlled values from the rs or rsargs[] parameters to the default URI in a manner that permits remote execution of arbitrary commands.
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.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module (modules/exploits/unix/webapp/hastymail_exec.rb) that exploits a command injection vulnerability (CVE-2011-4542) in Hastymail 2.1.1 RC1. The exploit targets the 'lib/ajax_functions.php' script, which insecurely uses call_user_func_array(), allowing an authenticated attacker to execute arbitrary system commands via crafted HTTP POST requests. The module requires valid Hastymail credentials and the base path to the web application (default: /hastymail2/). The payload is customizable and supports various command execution methods (perl, ruby, python, netcat, etc.), enabling actions such as reverse shells or arbitrary command execution. The exploit is operational and leverages the Metasploit framework's capabilities for payload delivery and session management. No hardcoded IPs or domains are present; the attacker specifies the target at runtime.
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.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
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.