CVE-2021-20682 OS Command Injection in baserCMS

High 7.2 Published Updated

Remote attackers with administrative privileges can execute arbitrary OS commands on baserCMS installations.

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

What is CVE-2021-20682?

CVE-2021-20682 is a high-severity command injection vulnerability in Basercms Basercms, published on 26 Mar 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

baserCMS versions prior to 4.4.5 allows a remote attacker with an administrative privilege to execute arbitrary OS commands via unspecified vectors.

Weakness: CWE-78

Which versions are affected by CVE-2021-20682?

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

PackageAffectedFixed in
baserproject/basercms PackagistAll versions4.4.5
baserproject/basercms PackagistAll versions4.4.5

Products include Basercms Basercms.

How do I fix CVE-2021-20682?

Upgrade baserproject/basercms to 4.4.5 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-20682 being exploited?

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

All Basercms Basercms vulnerabilities

Sources

Also known as GHSA-g39q-f4rm-85x4.

Is CVE-2021-20682 in your software?

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

Check your SBOMs for free