CVE-2020-27540 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on Rostelecom IP cameras by inserting a malicious SD card, bypassing firmware signature verification.

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-2020-27540?

CVE-2020-27540 is a critical command injection vulnerability in n/a, published on 25 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Bash injection vulnerability and bypass of signature verification in Rostelecom CS-C2SHW 5.0.082.1. The camera reads firmware update configuration from SD card file vc\version.json. fw-sign parameter and from this configuration is directly inserted into a bash command. Firmware update is run automatically if there is special file on the inserted SD card.

Weakness: CWE-347

Which versions are affected by CVE-2020-27540?

It affects 1 product.

Products include Company Cs-C2shw Firmware.

How do I fix CVE-2020-27540?

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

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

Sources

Also known as GHSA-qmf6-mw8h-6m87.

Is CVE-2020-27540 in your software?

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

Check your SBOMs for free