Critical vulnerabilities have been discovered in MailCleaner versions prior to 2023.03.14, allowing remote attackers to take complete control of the appliance. These flaws are exploitable through malicious emails, administrator interaction with compromised sites, and SOAP endpoint exploitation. Such vulnerabilities compromise the confidentiality and integrity of the MailCleaner system and any emails it processes. Additionally, attackers with authenticated administrative access can further manipulate the system, executing arbitrary commands and manipulating files, especially threatening in clustered deployments where one compromised machine can jeopardize the entire cluster.
A critical vulnerability within MailCleaner’s email cleaning cronjob has been identified, enabling remote attackers to gain root access via crafted emails. This flaw leverages an OS command injection, allowing arbitrary command execution and leading to complete system compromise. By gaining control of the MailCleaner appliance, attackers can intercept and manipulate all emails processed by the system. Furthermore, an unauthenticated attacker can exploit a stored XSS vulnerability in the admin dashboard through malicious emails, injecting JavaScript that can hijack sessions, steal data, or perform unauthorized actions as an admin. This XSS vulnerability, when combined with other vulnerabilities, significantly amplifies the attack potential, allowing for further OS command injection.
The administrator endpoints also contain a critical command injection vulnerability, granting attackers root access either through compromised credentials or social engineering tactics. Attackers can trick administrators into visiting malicious URLs, resulting in complete system compromise. Additional vulnerabilities at unspecified endpoints allow attackers to inject malicious JavaScript through crafted links, leading to session hijacking and data theft when users click these links. These reflect a reflected XSS vulnerability where user data isn’t properly sanitized before being echoed back in responses.
Unauthenticated SOAP endpoint vulnerabilities further compound the risk, enabling remote attackers to execute arbitrary commands with root privileges. Modezero’s findings highlight that in clustered environments, compromising a single member results in full access to all machines, escalating the threat. Multiple critical and high-severity vulnerabilities have been identified, potentially allowing attackers to execute arbitrary commands, inject malicious scripts, or manipulate logged-in users into performing unintended actions. Authenticated users could also gain unauthorized access to files and execute commands through local SOAP endpoints. These vulnerabilities necessitate immediate action to secure MailCleaner systems and protect against potential exploits.