CVE-2023-44025
Description
SQL injection vulnerability in addify Addifyfreegifts v.1.0.2 and before allows a remote attacker to execute arbitrary code via a crafted script to the getrulebyid function in the AddifyfreegiftsModel.php component.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An SQL injection in the PrestaShop 'Free Gifts' module up to v1.0.2 allows remote attackers to execute arbitrary SQL commands.
Vulnerability
The SQL injection vulnerability exists in the AddifyfreegiftsModel::getrulebyid() function in the addifyfreegifts module for PrestaShop, version 1.0.2 and earlier [1]. The method makes sensitive SQL calls that can be triggered via a trivial HTTP request to a front controller, allowing an attacker to inject arbitrary SQL [1]. The vulnerability is classified as CWE-89 Improper Neutralization of SQL Parameters [1].
Exploitation
An attacker can exploit this vulnerability by sending a crafted HTTP request to the module's front controller [1]. The exploit requires low privileges (guest user) and no user interaction, and can be performed over the network with low complexity [1]. Attackers can conceal the module controller's path during the exploit, so conventional frontend logs only show POST / entries [1]. Activation of mod_security audit engine is needed to detect the exploit [1].
Impact
Successful exploitation allows an attacker to perform SQL injection, potentially gaining admin access, deleting data, copying sensitive data from database tables (e.g., tokens that unlock admin Ajax scripts), and rewriting SMTP settings to hijack emails [1]. The CVSS score is 8.8 (high) with confidentiality, integrity, and availability all rated high [1].
Mitigation
The fix is available in version 1.2.0 of the module, released after the vulnerability disclosure [1]. The patch casts the $id_rule variable to integer in the addtocart.php controller and modifies the getrulebyid function to use proper SQL parameterization [1]. Since the fix is included in version 1.2.0, users should upgrade from version 1.0.2 or earlier [1]. No workaround is mentioned in the references.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- addify/Addifyfreegiftsdescription
- Range: <=1.0.2
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1News mentions
0No linked articles in our index yet.