CVE-2022-45447 Path Traversal in M4 PDF plugin for Prestashop sites

Medium 6.5 Published Updated

An attacker can read arbitrary files from the server via directory traversal in the M4 PDF plugin for Prestashop.

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-2022-45447?

CVE-2022-45447 is a medium-severity path traversal vulnerability in Prestashop M4 PDF plugin, published on 20 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

M4 PDF plugin for Prestashop sites, in its 3.2.3 version and before, is vulnerable to a directory traversal vulnerability. The “f” parameter is not properly checked in the resource /m4pdf/pdf.php, returning any file given its relative path. An attacker that exploits this vulnerability could download /etc/passwd from the server if the file exists.

Weakness: CWE-22

Which versions are affected by CVE-2022-45447?

It affects 1 product.

Products include Prestashop M4 Pdf.

How do I fix CVE-2022-45447?

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

There is no known exploitation of CVE-2022-45447 in the wild and no public exploit code.

Sources

Also known as GHSA-g7vq-2xcx-xqqm.

Is CVE-2022-45447 in your software?

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

Check your SBOMs for free