CVE-2024-34471 Path traversal in n/a

Medium 5.4 Published Updated

An attacker can exploit a path traversal flaw in HSC Mailinspector to read and delete arbitrary files on the server, potentially disrupting email services.

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

What is CVE-2024-34471?

CVE-2024-34471 is a medium-severity path traversal vulnerability in n/a, published on 6 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in HSC Mailinspector 5.2.17-3. A Path Traversal vulnerability (resulting in file deletion) exists in the mliRealtimeEmails.php file. The filename parameter in the export HTML functionality does not properly validate the file location, allowing an attacker to read and delete arbitrary files on the server. This was observed when the mliRealtimeEmails.php file itself was read and subsequently deleted, resulting in a 404 error for the file and disruption of email information loading.

Weakness: CWE-22

Which versions are affected by CVE-2024-34471?

It affects 1 product.

Products include Hsclabs Mailinspector.

How do I fix CVE-2024-34471?

No fix has been published for CVE-2024-34471 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-34471 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-x7hx-9w3p-f5r3.

Is CVE-2024-34471 in your software?

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

Check your SBOMs for free