The EU Cookie Law GDPR (Banner + Blocker) module before 2.1.3 for PrestaShop allows SQL Injection via a cookie ( lgcookieslaw or __lglaw ).
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://www.lineagrafica.es/modp/lgcookieslaw/en/readme_en.pdf | product vendor advisory |
https://addons.prestashop.com/en/legal/8734-eu-cookie-law-gdpr-banner-blocker.html | third party advisory product |
https://securityandstuff.com/posts/cve-2022-44727/ | third party advisory exploit |