CVE-2024-32370

9.8 CRITICAL

📋 TL;DR

This vulnerability in HSC Cybersecurity HC Mailinspector allows remote attackers to extract sensitive information by sending a specially crafted payload to the id parameter in the mliSystemUsers.php component. It affects all systems running HC Mailinspector versions 5.2.17-3 through 5.2.18. The high CVSS score of 9.8 indicates critical severity with low attack complexity.

💻 Affected Systems

Products:
  • HSC Cybersecurity HC Mailinspector
Versions: 5.2.17-3 through 5.2.18
Operating Systems: Linux-based systems where HC Mailinspector is deployed
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the web interface component mliSystemUsers.php which is typically accessible via the management interface.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise including administrative credentials, configuration secrets, and sensitive user data exposure leading to further attacks.

🟠

Likely Case

Unauthorized access to sensitive system information, user data, and configuration details that could facilitate privilege escalation or lateral movement.

🟢

If Mitigated

Limited information disclosure with no direct system compromise if proper network segmentation and access controls are implemented.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Public exploit code is available on GitHub, making exploitation trivial for attackers with network access to the vulnerable component.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 5.2.19 or later

Vendor Advisory: https://www.hsc-cybersecurity.com/security-advisories/

Restart Required: Yes

Instructions:

1. Download the latest version from HSC Cybersecurity portal. 2. Backup current configuration. 3. Stop HC Mailinspector service. 4. Install the update. 5. Restart the service. 6. Verify functionality.

🔧 Temporary Workarounds

Network Access Restriction

linux

Restrict access to the HC Mailinspector web interface to trusted IP addresses only.

iptables -A INPUT -p tcp --dport 443 -s TRUSTED_IP -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

Component Disablement

linux

Temporarily disable or restrict access to the vulnerable mliSystemUsers.php component.

mv /path/to/mliSystemUsers.php /path/to/mliSystemUsers.php.disabled

🧯 If You Can't Patch

  • Implement strict network segmentation to isolate HC Mailinspector from untrusted networks
  • Deploy a web application firewall (WAF) with rules to block malicious payloads targeting the id parameter

🔍 How to Verify

Check if Vulnerable:

Check the HC Mailinspector version via the web interface admin panel or configuration files.

Check Version:

grep 'version' /opt/hc-mailinspector/config/version.conf

Verify Fix Applied:

Verify the version is 5.2.19 or later and test that crafted payloads to mliSystemUsers.php no longer return sensitive information.

📡 Detection & Monitoring

Log Indicators:

  • Unusual HTTP requests to mliSystemUsers.php with crafted id parameters
  • Multiple failed authentication attempts following information disclosure

Network Indicators:

  • HTTP requests with unusual payloads in id parameter to the mailinspector management interface

SIEM Query:

source="web_access.log" AND uri="*mliSystemUsers.php*" AND (param="id" AND value MATCHES "[^a-zA-Z0-9]+")

🔗 References

📤 Share & Export