CVE-2020-21809 NukeViet SQL Injection vulnerability

Critical 9.8 Published Updated

SQL injection in NukeViet Shops module allows attackers to manipulate database queries via listid, group_price, or groupid parameters.

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

What is CVE-2020-21809?

CVE-2020-21809 is a critical SQL injection vulnerability in n/a, published on 29 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQL Injection vulnerability in NukeViet CMS module Shops 4.0.29 and 4.3 via the (1) listid parameter in detail.php and the (2) group_price or groupid parameters in search_result.php.

Weakness: CWE-89

Which versions are affected by CVE-2020-21809?

8 open source packages ship an affected version, including nukeviet/nukeviet. It affects 1 product.

PackageAffectedFixed in
nukeviet/nukeviet PackagistAll versionsNone
nukeviet/nukeviet PackagistAll versionsNone
nukeviet/nukeviet PackagistFrom 4.04.0.29
nukeviet/nukeviet PackagistFrom 4.04.0.29
nukeviet/nukeviet PackagistFrom 4.14.1.02
nukeviet/nukeviet PackagistFrom 4.14.1.02
2 more packages
nukeviet/nukeviet PackagistFrom 4.24.2.01
nukeviet/nukeviet PackagistFrom 4.24.2.01

Products include Nukeviet Nukeviet.

How do I fix CVE-2020-21809?

Upgrade nukeviet/nukeviet to a fixed version for your release line: 4.0.29, 4.1.02 or 4.2.01.

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-2020-21809 being exploited?

There is no known exploitation of CVE-2020-21809 in the wild and no public exploit code.

Sources

Also known as GHSA-m8jx-mxf9-2rpw.

Is CVE-2020-21809 in your software?

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

Check your SBOMs for free