CVE-2023-25170 PrestaShop has possible CSRF token fixation

Medium 5.0 Published Updated

Attackers can bypass CSRF protection by fixing tokens during login, potentially allowing unauthorized actions on behalf of authenticated users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-25170?

CVE-2023-25170 is a medium-severity vulnerability in Prestashop Prestashop, published on 13 Mar 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

PrestaShop is an open source e-commerce web application that, prior to version 8.0.1, is vulnerable to cross-site request forgery (CSRF). When authenticating users, PrestaShop preserves session attributes. Because this does not clear CSRF tokens upon login, this might enable same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. The problem is fixed in version 8.0.1.

Weakness: CWE-352

Which versions are affected by CVE-2023-25170?

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

PackageAffectedFixed in
prestashop/prestashop PackagistAll versions8.0.1
prestashop/prestashop PackagistAll versions8.0.1

Products include Prestashop Prestashop.

How do I fix CVE-2023-25170?

Upgrade prestashop/prestashop to 8.0.1 or later.

Is CVE-2023-25170 being exploited?

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

All Prestashop Prestashop vulnerabilities

Sources

Also known as GHSA-3g43-x7qr-96ph.

Is CVE-2023-25170 in your software?

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

Check your SBOMs for free