CVE-2023-25170 PrestaShop has possible CSRF token fixation
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.
| Package | Affected | Fixed in |
|---|---|---|
prestashop/prestashop Packagist | All versions | 8.0.1 |
prestashop/prestashop Packagist | All versions | 8.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.
Other vulnerabilities in Prestashop Prestashop
Sources
Also known as GHSA-3g43-x7qr-96ph.