PrestaShop debug mode flaw allows PHP code injection by authenticated back-office users
VULNERABILITYPrestaShopredteam/daily · 1 source
- Severity
- High
- Highest CVSS
- 5.4
- Exploited
- Not known
- Sources
- 1
What happened
PrestaShop's back-office Debug mode does not properly escape the debugcookiename and debugcookievalue settings before writing them into a PHP define() statement. An authenticated user with permission to change debug settings can inject PHP that executes on a later request, with the privileges of the PHP process. The vendor fix is version 9.2.1.
For IT people · Written by AI from 1 source · Wrong?
What to do
- Upgrade PrestaShop to version 9.2.1 or later.
- Limit Performance and Debug mode permissions to trusted administrators only.
- Restrict network access to the back office where possible.
- Prevent the PHP process from writing to config/defines.inc.php and config/definescustom.inc.php if an immediate upgrade is not possible.
Written by AI from the sources, checked against them
Vulnerabilities
Full story timeline · 2 updates
Who reported · 1 outlet
CERT/CC Vulnerability Notes
Who and what is in it
Products