CVE-2021-3110 SQL injection in n/a

Critical 9.8 Published Updated

Attackers can perform time-based boolean SQL injection via the product comments module to read sensitive database information.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-3110?

CVE-2021-3110 is a critical SQL injection vulnerability in Prestashop Prestashop, published on 20 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller=CommentGrade id_products[] parameter.

Weakness: CWE-89

Which versions are affected by CVE-2021-3110?

It affects 1 product.

Products include Prestashop Prestashop.

How do I fix CVE-2021-3110?

No fix has been published for CVE-2021-3110 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-3110 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-3110 exists.

Public exploit code: 1 Nuclei template.

All Prestashop Prestashop vulnerabilities

Sources

Also known as GHSA-j9cc-27mp-fm7w.

Is CVE-2021-3110 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free