CVE-2023-25170
PHP vulnerability analysis and mitigation

Overview

PrestaShop, an open source e-commerce web application, prior to version 8.0.1, was discovered to be vulnerable to cross-site request forgery (CSRF). When authenticating users, PrestaShop preserves session attributes, which does not clear CSRF tokens upon login. This vulnerability could enable same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation (NVD, GitHub Advisory).

Technical details

The vulnerability stems from PrestaShop's session management implementation where session attributes are preserved during user authentication. The critical issue is that CSRF tokens are not cleared when a user logs in, creating a security weakness. This vulnerability has been assigned a CVSS v3.1 base score of 8.8 HIGH by NVD and 5.0 MEDIUM by GitHub, with a vector string of CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L. The attack requires network access and user interaction, but no privileges (NVD).

Impact

The vulnerability could allow same-site attackers to bypass the CSRF protection mechanism. This could potentially lead to unauthorized actions being performed on behalf of authenticated users, compromising the integrity of user sessions and the security of the e-commerce platform (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in PrestaShop version 8.0.1. Users are advised to upgrade to this version or later to address the security issue (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management