CVE-2021-46457 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on D-Link DIR-823-Pro routers via the samba_name parameter in ChgSambaUserSettings.

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

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

Official description

D-Link device D-Link DIR-823-Pro v1.0.2 was discovered to contain a command injection vulnerability in the function ChgSambaUserSettings. This vulnerability allows attackers to execute arbitrary commands via the samba_name parameter.

Weakness: CWE-77

Which versions are affected by CVE-2021-46457?

It affects 1 product.

Products include Dlink Dir-823 Pro Firmware.

How do I fix CVE-2021-46457?

No fix has been published for CVE-2021-46457 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-46457 being exploited?

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

Sources

Also known as GHSA-749p-fxxp-x88r.

Is CVE-2021-46457 in your software?

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

Check your SBOMs for free