CVE-2024-34470 Path traversal in n/a

High 8.6 Published Updated

Unauthenticated attackers can read arbitrary files on the server via path traversal in HSC Mailinspector.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-34470?

CVE-2024-34470 is a high-severity path traversal vulnerability in n/a, published on 6 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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 attacker to read arbitrary files on the server.

Weakness: CWE-29

Which versions are affected by CVE-2024-34470?

It affects 1 product.

Products include Hsclabs Mailinspector.

How do I fix CVE-2024-34470?

No fix has been published for CVE-2024-34470 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-34470 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34470 exists.

Public exploit code: 1 Nuclei template and 5 proofs of concept on GitHub.

Sources

Also known as GHSA-fv57-985w-x39v.

Is CVE-2024-34470 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free