A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-34470

CVE-2024-34470: Mailinspector Path Traversal Vulnerability

CVE-2024-34470 is an unauthenticated path traversal vulnerability in HSC Mailinspector that allows attackers to read arbitrary files on the server. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2024-34470 Overview

CVE-2024-34470 is an unauthenticated path traversal vulnerability in HSC Mailinspector versions 5.2.17-3 through 5.2.18. The flaw resides in /public/loader.php, where the path parameter fails to validate whether the requested file or directory is contained within the webroot. Remote attackers can supply traversal sequences to read arbitrary files from the underlying server, including configuration files, credentials, and other sensitive data. No authentication or user interaction is required to exploit this issue. The vulnerability is tracked under CWE-29: Path Traversal: ..\filename.

Critical Impact

Remote unauthenticated attackers can read arbitrary files on Mailinspector servers, exposing credentials and configuration data. The EPSS score of 93.549% places this vulnerability in the top 1% most likely to be exploited.

Affected Products

  • HSC Mailinspector 5.2.17-3
  • HSC Mailinspector 5.2.18
  • All intermediate versions between 5.2.17-3 and 5.2.18

Discovery Timeline

  • 2024-05-06 - CVE-2024-34470 published to NVD
  • 2025-06-17 - Last updated in NVD database

Technical Details for CVE-2024-34470

Vulnerability Analysis

The vulnerability exists in the file-loading routine of /public/loader.php. The script accepts a path parameter from HTTP requests and uses its value to open and return file contents. The implementation does not normalize the path or verify that the resolved file resides within the application's webroot directory. Attackers can submit sequences such as ../../../../etc/passwd to traverse out of the intended directory and access any file readable by the web server process. Because the endpoint is exposed without authentication, exploitation requires only network access to the Mailinspector web interface.

Root Cause

The root cause is missing input validation and path canonicalization in the loader.php handler. The application trusts the user-supplied path value directly when invoking file read operations. There is no allowlist of permitted directories, no rejection of traversal sequences such as .., and no check that the canonical path remains inside the webroot. This pattern matches [CWE-29], where Windows or Unix-style relative path components bypass intended access boundaries.

Attack Vector

An attacker sends a single HTTP request to the vulnerable endpoint with a crafted path parameter. For example, a request resembling GET /public/loader.php?path=../../../../etc/passwd returns the contents of the targeted file in the HTTP response. Attackers typically use this primitive to harvest configuration files, database credentials, private keys, and session data. Disclosed credentials often enable follow-on attacks such as authenticated access, lateral movement, or full system compromise. A proof-of-concept is published in the public PoC repository.

Detection Methods for CVE-2024-34470

Indicators of Compromise

  • HTTP requests to /public/loader.php containing ../ or URL-encoded variants such as %2e%2e%2f in the path parameter
  • Web server access logs showing repeated requests to loader.php with varying path values targeting system files like /etc/passwd, /etc/shadow, or application configuration files
  • Unexpected outbound traffic from the Mailinspector host following suspicious loader.php requests, suggesting credential reuse by an attacker

Detection Strategies

  • Deploy web application firewall rules that block path traversal patterns in query strings and request bodies targeting loader.php
  • Inspect HTTP request logs for traversal sequences and absolute paths submitted to the path parameter
  • Correlate access to loader.php with the source IP reputation and the absence of an authenticated session cookie

Monitoring Recommendations

  • Forward Mailinspector web server logs to a centralized SIEM and alert on anomalous request patterns to /public/loader.php
  • Monitor file integrity and access timestamps on sensitive configuration files that the web server account can read
  • Track outbound connections from the Mailinspector host to detect post-exploitation activity using leaked credentials

How to Mitigate CVE-2024-34470

Immediate Actions Required

  • Upgrade HSC Mailinspector to a version later than 5.2.18 once a fixed release is available from HSC Brazil
  • Restrict network access to the Mailinspector web interface using firewall rules or a reverse proxy that enforces authentication
  • Audit the server for evidence of prior exploitation, including unauthorized access to configuration files and credential stores

Patch Information

No vendor advisory or patch reference is listed in the NVD record at the time of writing. Administrators should consult HSC Brazil directly for an official fixed version and apply it as soon as it is released. Until a patch is available, compensating controls must be enforced at the network and web server layers.

Workarounds

  • Block external access to /public/loader.php at the reverse proxy or WAF until a vendor patch is applied
  • Add WAF signatures that reject requests containing .., %2e%2e, or absolute path prefixes in the path parameter
  • Run the Mailinspector web server process under a low-privilege account that cannot read sensitive system files
  • Rotate any credentials, API keys, or certificates stored on the Mailinspector host that may have been exposed
bash
# Example nginx rule to block path traversal attempts against loader.php
location /public/loader.php {
    if ($args ~* "(\.\./|%2e%2e|/etc/|/proc/)") {
        return 403;
    }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechHsclabs Mailinspector

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability93.55%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-29
  • Technical References
  • GitHub PoC Repository
  • Related CVEs
  • CVE-2026-29962: Hsclabs Mailinspector Path Traversal Flaw

  • CVE-2026-29963: Hsclabs Mailinspector Path Traversal

  • CVE-2026-29964: HSC MailInspector XSS Vulnerability

  • CVE-2026-29965: HSC MailInspector XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English