In the PrestaShop module "productcomments" before version 4.2.1, an attacker can use a Blind SQL injection to retrieve data or stop the MySQL service. The problem is fixed in 4.2.1 of the module.
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://github.com/PrestaShop/productcomments/security/advisories/GHSA-5v44-7647-xfw9 | third party advisory |
https://packagist.org/packages/prestashop/productcomments | third party advisory release notes |
https://github.com/PrestaShop/productcomments/commit/7c2033dd811744e021da8897c80d6c301cd45ffa | third party advisory patch |
https://github.com/PrestaShop/productcomments/releases/tag/v4.2.1 | third party advisory release notes |
http://packetstormsecurity.com/files/160539/PrestaShop-ProductComments-4.2.0-SQL-Injection.html | exploit vdb entry third party advisory |