ZeroHour

CVE-2026-7848

niche

SQL Injection in Alior Bank 'raty' PrestaShop Payment Module

CVSS 4.0
8.6 high
EPSS
Published
()
Modified
AI analysis

Alior Bank's 'raty' installment-payment module for PrestaShop contains a SQL injection flaw (CVSS 4.0: 8.6) in the hookActionObjectProductUpdateBefore, hookActionObjectCategoryUpdateBefore, and hookActionObjectCategoryAddAfter hook methods, which run when a product or category is saved in the backoffice. The module inserts the POST parameters alior_product_promotion, alior_category_promotion, and alior_category_enabled directly into SQL UPDATE queries with no sanitization or validation. An attacker with access to the product or category add/edit functionality — for example a low-privilege employee account with catalog permissions — can inject arbitrary SQL and read or modify database contents, including customer, order, and administrative data. Affected deployments are PrestaShop shops running the module in versions prior to 8.1.11 or 9.0.7, most plausibly merchants in Poland offering Alior Bank installment payments. No public proof of concept or in-the-wild exploitation is known, and the issue is not listed in the CISA KEV catalog.

What to do: Update the raty module to 9.0.7 or 8.1.11, matching the version line you run, and disable or remove the module until the patch is applied. Restrict backoffice rights to add or edit products and categories to trusted staff, since that level of access is required to trigger the injection. Review database audit logs, admin accounts, and catalog records for signs of unexpected UPDATE queries or unauthorized data changes.

Affected
Alior Bank raty (PrestaShop module for commercial partners)versions prior to 8.1.11
Alior Bank raty (PrestaShop module for commercial partners)versions prior to 9.0.7
Estimated exposure
nichelikely hundreds to low thousands of PrestaShop stores (estimate) — The module is distributed by Alior Bank directly to its commercial partners rather than through a public marketplace with published install counts, so adoption is limited to merchants — overwhelmingly in Poland — using Alior installment…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Alior Bank PrestaShop module "raty" for commercial partners is vulnerable to SQL Injection in the "hookActionObjectProductUpdateBefore", "hookActionObjectCategoryUpdateBefore", and "hookActionObjectCategoryAddAfter" hook methods. The module inserts values of the POST parameters "alior_product_promotion", "alior_category_promotion" and "alior_category_enabled" directly into SQL UPDATE queries without any sanitization or validation. An attacker with access to the product or category add/edit functionality in the PrestaShop backoffice can inject arbitrary SQL, potentially allowing unauthorized access to and modification of database contents. This issue was fixed in versions: 9.0.7 and 8.1.11

Ecosystems
E-commerce
Weakness
CWE-89
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.