The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-36680

CVE-2024-36680: PrestaShop Facebook Module SQLi Flaw

CVE-2024-36680 is a SQL injection vulnerability in the Facebook module (pkfacebook) for PrestaShop that allows guest users to execute malicious SQL queries. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-36680 Overview

CVE-2024-36680 is a SQL Injection vulnerability affecting the "Facebook" module (pkfacebook) version 1.0.1 and earlier from Promokit.eu for PrestaShop. The vulnerability exists in the facebookConnect.php AJAX script, which contains a sensitive SQL call that can be executed with a trivial HTTP request and exploited to forge a SQL injection attack. This allows unauthenticated guests to perform unauthorized database queries against vulnerable PrestaShop installations.

Critical Impact

Unauthenticated attackers can exploit this SQL Injection vulnerability to extract sensitive data from the PrestaShop database, including customer information, payment details, and administrative credentials.

Affected Products

  • PrestaShop Facebook Module (pkfacebook) version 1.0.1 and earlier
  • PrestaShop installations using the Promokit.eu pkfacebook module

Discovery Timeline

  • 2024-06-18 - Security advisory published by Friends of Presta
  • 2024-06-19 - CVE-2024-36680 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-36680

Vulnerability Analysis

This SQL Injection vulnerability (CWE-89) exists due to improper neutralization of special elements used in SQL commands within the pkfacebook module. The vulnerable component, facebookConnect.php, processes user-supplied input without adequate sanitization before incorporating it into SQL queries. This allows attackers to inject malicious SQL statements that are executed against the underlying database.

The vulnerability is particularly concerning because it requires no authentication—any guest visitor can craft malicious HTTP requests to exploit the flaw. Successful exploitation grants attackers the ability to read sensitive database contents, potentially including customer personal data, order information, and administrative credentials stored in the PrestaShop database.

Root Cause

The root cause of CVE-2024-36680 is insufficient input validation and parameterization in the facebookConnect.php AJAX endpoint. The script constructs SQL queries using unsanitized user input, allowing attackers to manipulate query logic through specially crafted parameters. This represents a classic SQL Injection pattern where dynamic query construction without proper escaping or prepared statements enables database manipulation.

Attack Vector

The attack vector is network-based and requires no user interaction or prior authentication. An attacker can exploit this vulnerability by sending crafted HTTP requests to the facebookConnect.php endpoint. The vulnerability can be triggered remotely over the network with low attack complexity, making it accessible to attackers with minimal technical sophistication.

The vulnerability manifests in the AJAX handler for Facebook Connect functionality. Attackers can inject SQL commands through HTTP request parameters processed by the vulnerable script. For detailed technical analysis and proof-of-concept information, refer to the Friends of Presta Security Advisory.

Detection Methods for CVE-2024-36680

Indicators of Compromise

  • Unusual or malformed HTTP requests to /modules/pkfacebook/facebookConnect.php containing SQL syntax characters
  • Database query logs showing unexpected UNION SELECT, OR statements, or time-based payloads
  • Evidence of data exfiltration through error-based or blind SQL injection techniques
  • Abnormal server response times indicating time-based SQL injection attempts

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in requests to the pkfacebook module
  • Monitor HTTP access logs for suspicious requests targeting facebookConnect.php with SQL metacharacters
  • Deploy database activity monitoring to identify anomalous query patterns from the web application
  • Use intrusion detection systems (IDS) with SQL injection signatures focused on PrestaShop installations

Monitoring Recommendations

  • Enable detailed logging for the PrestaShop modules directory, particularly for AJAX endpoints
  • Configure alerting for database errors that may indicate failed injection attempts
  • Monitor for bulk data extraction patterns or unusually large query result sets
  • Review web server logs for requests containing encoded SQL characters targeting module endpoints

How to Mitigate CVE-2024-36680

Immediate Actions Required

  • Remove or disable the pkfacebook module (version 1.0.1 and earlier) from all PrestaShop installations immediately
  • Audit database logs for evidence of exploitation and potential data compromise
  • Review and reset administrative credentials if exploitation is suspected
  • Implement WAF rules to block SQL injection attempts targeting the vulnerable endpoint

Patch Information

As of the published advisory, users should check with Promokit.eu for an updated version of the pkfacebook module that addresses this SQL Injection vulnerability. If no patch is available, the module should be removed entirely. Refer to the Friends of Presta Security Advisory for the latest remediation guidance.

Workarounds

  • Disable or uninstall the pkfacebook module until a patched version is available
  • Block access to facebookConnect.php at the web server level using access control directives
  • Implement application-level input validation if module source code can be modified
  • Deploy WAF rules specifically targeting SQL injection patterns in the affected endpoint
bash
# Apache .htaccess example to block access to vulnerable endpoint
<Files "facebookConnect.php">
    Require all denied
</Files>

# Nginx configuration to block vulnerable endpoint
location ~* /modules/pkfacebook/facebookConnect\.php$ {
    deny all;
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPrestashop

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • Friends of Presta Security Advisory
  • Related CVEs
  • CVE-2025-69633: PrestaShop Advanced Popup SQL Injection

  • CVE-2024-36683: PrestaShop Products Alert SQL Injection

  • CVE-2022-31101: Prestashop Blockwishlist SQLi Vulnerability

  • CVE-2026-33674: PrestaShop Validation Framework Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English