CVE-2015-7611 is a critical remote command execution vulnerability in Apache James Server 2.3.2, specifically when configured with file-based user repositories. The vulnerability arises from insufficient input validation in the user creation mechanism, allowing attackers to create usernames containing directory traversal sequences. This enables writing files outside the intended user directory, such as into /etc/bash_completion.d, which can lead to arbitrary command execution when a user logs in. The risk is heightened by the server running as root and the presence of default credentials on the administration console.
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 (apache_james_exec.rb) that exploits CVE-2015-7611, a vulnerability in Apache James Server 2.3.2 on Linux. The exploit leverages insufficient input validation in the user creation process of the James Remote Administration Tool, allowing an attacker to perform directory traversal and write arbitrary files as root. By creating a user with a crafted username, the attacker can write a payload to /etc/cron.d (for execution by cron) or /etc/bash_completion.d (for execution upon user login if bash completion is enabled). The module uses Metasploit's command stager to deliver a customizable payload, typically resulting in a reverse shell or arbitrary command execution as root. The exploit requires network access to the SMTP service (port 25) and the James Remote Administration Tool (port 4555). The module also includes cleanup routines to remove exploit artifacts. The code is written in Ruby and is fully integrated into the Metasploit framework.
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.