CVE-2025-28367 Path traversal in n/a

Medium 6.5 Published Updated

Attackers can exploit a directory traversal flaw in the ImageHandler to read the Web.Config file and obtain the MachineKey, potentially bypassing security controls.

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-2025-28367?

CVE-2025-28367 is a medium-severity path traversal vulnerability in n/a, published on 21 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

mojoPortal <=2.9.0.1 is vulnerable to Directory Traversal via BetterImageGallery API Controller - ImageHandler Action. An attacker can exploit this vulnerability to access the Web.Config file and obtain the MachineKey.

Weakness: CWE-284

Which versions are affected by CVE-2025-28367?

It affects 1 product.

Products include Mojoportal Mojoportal.

How do I fix CVE-2025-28367?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-q332-7cfx-q6r5.

Is CVE-2025-28367 in your software?

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

Check your SBOMs for free