VYPR
Unrated severityNVD Advisory· Published Oct 3, 2023· Updated Sep 25, 2024

CVE-2023-39645

CVE-2023-39645

Description

Improper neutralization of SQL parameter in Theme Volty CMS Payment Icon module for PrestaShop. In the module “Theme Volty CMS Payment Icon” (tvcmspaymenticon) up to version 4.0.1 from Theme Volty for PrestaShop, a guest can perform SQL injection in affected versions.

AI Insight

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

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Improper neutralization of SQL parameters in the Theme Volty CMS Payment Icon module allows for SQL injection."

Attack vector

An unauthenticated guest can exploit this vulnerability by sending a crafted HTTP request to the `ajax.php` script within the module. This script contains sensitive SQL calls that are vulnerable to injection. The attacker can manipulate parameters to execute arbitrary SQL commands, potentially leading to data theft 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 resides in the `ajax.php` file of the "Theme Volty CMS Payment Icon" module (tvcmspaymenticon). Specifically, the SQL queries that update the `position` and `id_tvcmspaymenticon` fields in the `ps_tvcmspaymenticon` table are affected. The patch modifies these lines in `ajax.php` to include integer casting for the relevant variables [ref_id=1].

What the fix does

The patch in version 4.0.2 addresses the SQL injection vulnerability by casting the `$pos` and `$value` variables to integers using `(int)`. This type casting ensures that only integer values are used in the SQL queries, preventing the injection of malicious SQL code. By sanitizing these inputs, the module properly neutralizes potentially harmful parameters before they are used in database operations [ref_id=1].

Preconditions

  • authThe attacker does not need any privileges (guest user).
  • networkThe attack can be performed over the network.
  • inputThe attacker needs to send a crafted HTTP request with manipulated parameters.

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

References

1

News mentions

0

No linked articles in our index yet.