CVE-2021-42897 Command injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary commands via the r_name parameter in datarec.php, leading to full system compromise.

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

CVE-2021-42897 is a critical command injection vulnerability in n/a, published on 16 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A remote command execution (RCE) vulnerability was found in FeMiner wms V1.0 in /wms/src/system/datarec.php. The $_POST[r_name] is directly passed into the $mysqlstr and is executed by exec.

Weakness: CWE-78

Which versions are affected by CVE-2021-42897?

It affects 1 product.

Products include Feminer Wms Project Feminer Wms.

How do I fix CVE-2021-42897?

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

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

Is CVE-2021-42897 being exploited?

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

Sources

Also known as GHSA-j76v-x5jp-f9gj.

Is CVE-2021-42897 in your software?

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

Check your SBOMs for free