CVE-2020-27542 Command injection in n/a
An attacker can execute arbitrary commands on the camera by providing a malicious QR code during initial configuration.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-27542?
CVE-2020-27542 is a medium-severity command injection vulnerability in n/a, published on 25 Jan 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Rostelecom CS-C2SHW 5.0.082.1 is affected by: Bash command injection. The camera reads configuration from QR code (including network settings). The static IP configuration from QR code is copied to the file /config/ip-static and after reboot data from this file is inserted into bash command (without any escaping). So bash injection is possible. Camera doesn't parse QR codes if it's already successfully configured. Camera is always rebooted after successful configuration via QR code.
Weakness: CWE-78
Which versions are affected by CVE-2020-27542?
It affects 1 product.
Products include Company Cs-C2shw Firmware.
How do I fix CVE-2020-27542?
No fix has been published for CVE-2020-27542 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-27542 being exploited?
There is no known exploitation of CVE-2020-27542 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-f9cq-378f-9cj4.