Security Resilience

CVE-2024-34470

Hsclabs Mailinspector 5.2.17-3 – 5.2.19

Public PoC
Published
06 May 2024
Modified
17 June 2025
CVSS Score v3.1 8.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS Score 0.067 94th percentile
Risk Priority 88 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-34470 is a high-severity Path Traversal: '\..\filename' (CWE-29) vulnerability in Hsclabs Mailinspector. Its CVSS base score is 8.6 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-34470 is an unauthenticated path traversal vulnerability affecting HSC Mailinspector versions 5.2.17-3 through 5.2.18. It resides in the /public/loader.php endpoint, where the path parameter fails to validate whether requested files or directories reside inside the webroot, allowing arbitrary file reads on the underlying server. The flaw is tracked under CWE-29 and carries a CVSS 3.1 score of 8.6.

An attacker with network access can exploit the issue without credentials or user interaction by supplying crafted path values that traverse outside the intended directory tree. Successful exploitation yields high-impact disclosure of sensitive files on the server, with the vulnerability's changed scope increasing potential reach beyond the vulnerable application.

Public proof-of-concept code demonstrating the traversal has been published on GitHub. The associated EPSS score currently stands at 0.9278 after reaching a peak of 0.9367, reflecting elevated and sustained exploitation interest following disclosure.

EU & UK References

Vulnerability Data

An issue was discovered in HSC Mailinspector 5.2.17-3 through v.5.2.18. An Unauthenticated Path Traversal vulnerability exists in the /public/loader.php file. The path parameter does not properly filter whether the file and directory passed are part of the webroot, allowing an…

more

attacker to read arbitrary files on the server.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-29963Same product: Hsclabs Mailinspector
CVE-2024-34471Same product: Hsclabs Mailinspector
CVE-2024-34472Same product: Hsclabs Mailinspector
CVE-2024-32369Same product: Hsclabs Mailinspector
CVE-2026-29962Same product: Hsclabs Mailinspector
CVE-2026-29964Same product: Hsclabs Mailinspector
CVE-2026-29965Same product: Hsclabs Mailinspector
CVE-2024-32370Same product: Hsclabs Mailinspector
CVE-2024-32371Same product: Hsclabs Mailinspector
CVE-2024-5443Shared CWE-29

Affected Assets

hsclabs
mailinspector
5.2.17-3 — 5.2.19

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation directly neutralizes the '\..\filename' sequence before pathname resolution occurs.

Access enforcement denies requests that resolve outside the intended directory even when the traversal sequence is present.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and path sanitization that block this traversal vector.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can discover path-traversal flaws but does not itself prevent them in production code.

prevents

Training developers in secure coding practices (input validation, path handling) reduces instances of path traversal defects, but the specific '\..\' bypass technique is subtle enough that even trained developers miss it, and training is fallible — consistent with the A.6.3 -> CWE-598 partial anchor and the A.8.28 -> CWE-79 partial anchor for implementation defects.

prevents

Secure coding standards directly require neutralizing path traversal sequences such as '\..\filename'.

prevents

Contractual secure-coding and testing requirements can prevent some path-traversal flaws in outsourced software from being introduced, but the effect depends on fallible supplier practices and leaves a substantial remainder.

finds

A.8.8's reach is disclosure-based: it identifies vulnerabilities through vendor advisories, scanning tools, and third-party library tracking. CWE-29 instances that surface as published CVEs in third-party components are found, but the bulk of path traversal flaws live in first-party code that A.8.8 does not read, mirroring the A.8.8 -> CWE-89 anchor.

References