VYPR
Unrated severityNVD Advisory· Published Apr 12, 2023· Updated Feb 10, 2025

CVE-2023-27032

CVE-2023-27032

Description

PrestaShop AdvancedPopupCreator module versions 1.1.21 to 1.1.24 contain a SQL injection vulnerability in the AdvancedPopup::getPopups() method allowing unauthenticated attackers to execute arbitrary SQL.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

PrestaShop AdvancedPopupCreator module versions 1.1.21 to 1.1.24 contain a SQL injection vulnerability in the AdvancedPopup::getPopups() method allowing unauthenticated attackers to execute arbitrary SQL.

Vulnerability

The PrestaShop AdvancedPopupCreator module by Idnovate, versions 1.1.21 to 1.1.24, contains a SQL injection vulnerability in the AdvancedPopup::getPopups() method. The vulnerability exists because the method directly incorporates $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] into a SQL query without sanitization (the INSTR function call). The patch in version 1.1.25 wraps this concatenation with pSQL(), indicating the injection vector [1].

Exploitation

An unauthenticated attacker can exploit this vulnerability by sending a crafted HTTP request to any PrestaShop page that triggers the vulnerable method. Since the injection occurs through the HTTP_HOST and REQUEST_URI server variables, a remote attacker can manipulate these values (e.g., via a crafted Host header) without requiring authentication or user interaction. The attack complexity is low, and no special privileges are needed [1].

Impact

Successful exploitation allows an attacker to perform arbitrary SQL queries against the PrestaShop database. This can lead to complete compromise of the application: obtaining admin access, extracting sensitive data (e.g., customer information, credentials), deleting data, modifying SMTP settings to hijack emails, and potentially achieving remote code execution depending on the database privileges. The CVSS score is 9.8 (critical) with high impact on confidentiality, integrity, and availability [1].

Mitigation

Idnovate released version 1.1.25 of the AdvancedPopupCreator module on an unknown date, which fixes the vulnerability by sanitizing the input with pSQL() [1]. All users should update to version 1.1.25 or later immediately. If upgrading is not possible, the advisory recommends disabling the module as a workaround. The module is listed by Friends-Of-Presta as a known vulnerability; no CISA KEV listing is known at this time.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

Root cause

"The method AdvancedPopup::getPopups() improperly neutralizes SQL parameters, allowing for injection."

Attack vector

A guest user can exploit this vulnerability by sending a crafted HTTP call to the AdvancedPopup::getPopups() component. The vulnerability lies in the way the `$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']` variable is handled within SQL queries. By manipulating these server variables, an attacker can inject malicious SQL code, leading to unauthorized data access or modification. The attack vector is network-based with low complexity and requires no user interaction or privileges [ref_id=1].

Affected code

The vulnerability exists in the `AdvancedPopup::getPopups()` method within the `advancedpopupcreator` module. The specific lines of code affected are within the `AdvancedPopup.php` file, where the `$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']` string is directly incorporated into an SQL query without proper sanitization [ref_id=1].

What the fix does

The patch addresses the SQL injection vulnerability by properly sanitizing the input used in the SQL query. Specifically, the `pSQL()` function is now applied to the concatenated `$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']` string before it is used in the `INSTR` function within the SQL query. This ensures that any special characters within the server variables are escaped, preventing them from being interpreted as SQL commands and thus closing the injection vector [ref_id=1].

Preconditions

  • inputThe attacker must be able to control or influence the `$_SERVER['HTTP_HOST']` and `$_SERVER['REQUEST_URI']` variables.
  • authThe attacker does not require any authentication (guest user).

Generated on Jun 8, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

2

News mentions

0

No linked articles in our index yet.