CVE-2020-21808 NukeViet SQL Injection vulnerability via topicsid parameter

Critical 9.8 Published Updated

SQL injection in NukeViet CMS allows attackers to manipulate database queries via the topicsid parameter, potentially exposing or altering data.

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-21808?

CVE-2020-21808 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 4.0.10 - 4.3.07 via:the topicsid parameter in modules/news/admin/addtotopics.php.

Weakness: CWE-89

Which versions are affected by CVE-2020-21808?

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

PackageAffectedFixed in
nukeviet/nukeviet PackagistFrom 4.0.104.3.08
nukeviet/nukeviet PackagistFrom 4.0.104.3.08

Products include Nukeviet Nukeviet.

How do I fix CVE-2020-21808?

Upgrade nukeviet/nukeviet to 4.3.08 or later.

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-21808 being exploited?

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

Sources

Also known as GHSA-84gf-rw24-pfqg.

Is CVE-2020-21808 in your software?

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

Check your SBOMs for free