SQL Injection in pkfacebook PrestaShop Module
A SQL injection vulnerability exists in the 'Facebook' (pkfacebook) module version 1.0.1 and below from Promokit.eu for PrestaShop. The vulnerability is present in the facebookConnect.php ajax script, which contains a sensitive SQL call that can be triggered by a trivial HTTP request. This allows a guest (unauthenticated user) to inject arbitrary SQL commands into the database.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an unauthenticated attacker to execute arbitrary SQL queries against the PrestaShop database. This can lead to data exfiltration, modification, or deletion, and potentially further compromise of the PrestaShop instance, including privilege escalation or code execution depending on the database and application configuration.
If you can’t patch tonight, do this now.
As an immediate mitigation, disable or remove the pkfacebook module until a patched version is available. Restrict access to the facebookConnect.php script via web server configuration if possible. Monitor logs for suspicious activity targeting this endpoint.
Patch, then assume compromise.
Upgrade the pkfacebook module to a version that addresses this vulnerability, or apply any patches provided by Promokit.eu. Ensure that all user input is properly sanitized and parameterized in SQL queries.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.