CVE-2022-46158 Potential Information exposure in the upload directory in PrestaShop

Medium 5.3 Published Updated

Attackers can view contents of the upload directory without proper permissions, exposing sensitive files in PrestaShop installations.

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

What is CVE-2022-46158?

CVE-2022-46158 is a medium-severity vulnerability in Prestashop Prestashop, published on 8 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PrestaShop is an open-source e-commerce solution. Versions prior to 1.7.8.8 did not properly restrict host filesystem access for users. Users may have been able to view the contents of the upload directory without appropriate permissions. This issue has been addressed and users are advised to upgrade to version 1.7.8.8. There are no known workarounds for this issue.

Weakness: CWE-862, CWE-200

Which versions are affected by CVE-2022-46158?

2 open source packages ship an affected version, including prestashop/prestashop. It affects 1 product.

PackageAffectedFixed in
prestashop/prestashop PackagistAll versions1.7.8.8
prestashop/prestashop PackagistAll versions1.7.8.8

Products include Prestashop Prestashop.

How do I fix CVE-2022-46158?

Upgrade prestashop/prestashop to 1.7.8.8 or later.

Is CVE-2022-46158 being exploited?

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

All Prestashop Prestashop vulnerabilities

Sources

Also known as GHSA-9qgp-9wwc-v29r.

Is CVE-2022-46158 in your software?

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

Check your SBOMs for free