Sensitive Files
PrestaShop Log File Exposure Check
PrestaShop log files can reveal sensitive information. Check that they are not publicly accessible and learn how to secure them.
What this test checks
This test checks whether PrestaShop log files (in /log/, /logs/, /cache/logs/, /var/logs/) are publicly accessible. These logs contain detailed information about errors, admin accesses, SQL queries, and sometimes personal data or intrusion attempts. Their exposure can facilitate targeted attacks or information theft.
Our recommendation
Place PrestaShop log files outside the site's public directory. In PrestaShop, you can configure the log path via parameters.php. Use restrictive permissions and protect the log folder via .htaccess. Regularly check log size and archive them if necessary.
Security tests