{"id":"CVE-2020-26248","published":"2020-12-03T20:55:13Z","modified":"2024-08-04T15:56:04Z","title":"Blind SQL injection during the CommentGrade process","vendor":"PrestaShop","product":"productcomments","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.12388,"percentile":0.96306,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/PrestaShop/productcomments/security/advisories/GHSA-5v44-7647-xfw9","tags":["x_refsource_CONFIRM"]},{"url":"https://packagist.org/packages/prestashop/productcomments","tags":["x_refsource_MISC"]},{"url":"https://github.com/PrestaShop/productcomments/commit/7c2033dd811744e021da8897c80d6c301cd45ffa","tags":["x_refsource_MISC"]},{"url":"https://github.com/PrestaShop/productcomments/releases/tag/v4.2.1","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/160539/PrestaShop-ProductComments-4.2.0-SQL-Injection.html","tags":["x_refsource_MISC"]}],"priority":{"score":29.0,"factors":[{"name":"EPSS percentile","points":19.26},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.76}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2020-12-16"},"nuclei":[{"id":"CVE-2020-26248","name":"PrestaShop Product Comments <4.2.0 - SQL Injection","severity":"high","path":"http/cves/2020/CVE-2020-26248.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-26248.yaml"}],"first":{"date":"2020-12-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/49267"},"provenance":"source"},"vendorSlug":"prestashop","affectedVersions":[{"vendor":"PrestaShop","product":"productcomments","versions":[">= 4.0.0, < 4.2.1"]}],"affected":[{"ecosystem":"Packagist","package":"prestashop/productcomments","vulnerableRanges":[">=4.0.0, <4.2.1"],"patched":["4.2.1"],"from":["GHSA-5v44-7647-xfw9"],"provenance":"source"}],"summary":{"text":"The productcomments module for PrestaShop, prior to version 4.2.1, contains a blind SQL injection flaw in its CommentGrade process, caused by improper neutralization of special elements in an SQL command. An attacker with local access and no privileges or user interaction can use it to retrieve data from the database or stop the MySQL service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:03:29Z"},"euvd":{"id":"EUVD-2021-0491","exploited":false,"provenance":"source"},"exploits":[{"id":49267,"url":"https://www.exploit-db.com/exploits/49267","title":"PrestaShop ProductComments 4.2.0 - 'id_products' Time Based Blind SQL Injection (SQLi)","date":"2020-12-16","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/160539/PrestaShop-ProductComments-4.2.0-SQL-Injection.html"],"lineage":{"familyId":"fam-prestashop-productcomments-cve-2020-26225","parents":[{"from":"CVE-2020-26225","to":"CVE-2020-26248","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/productcomments","fromFixed":"4.2.0","toFixed":"4.2.1","daysApart":17},{"kind":"same-code","provenance":"machine","files":["controllers/front/CommentGrade.php","controllers/front/ListComments.php"],"commits":["https://github.com/PrestaShop/productcomments/commit/c56e3e9495c4a0a9c1e7dc43e1bb0fcad2796dbf","https://github.com/PrestaShop/productcomments/commit/7c2033dd811744e021da8897c80d6c301cd45ffa"],"basis":"shared function","functions":["display"]},{"kind":"similar","provenance":"machine","score":0.23,"basis":"same product + description similarity"}]}],"children":[{"from":"CVE-2020-26248","to":"CVE-2022-35933","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["productcomments.php"],"commits":["https://github.com/PrestaShop/productcomments/commit/7c2033dd811744e021da8897c80d6c301cd45ffa","https://github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2020-26225","published":"2020-11-16","fixed":"4.2.0","kev":false},{"cve":"CVE-2020-26248","published":"2020-12-03","fixed":"4.2.1","kev":false},{"cve":"CVE-2022-35933","published":"2022-09-02","fixed":"5.0.2","kev":false}],"package":"Packagist:prestashop/productcomments"}}