RCE in Company Cs-C2shw

CVE-2020-27542

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.012 (64.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-27542?
CVE-2020-27542 is a medium-severity vulnerability in Company Cs-C2shw, classified under OS Command Injection. CVSS score: 6.8/10. Published 2021-01-26.
How severe is CVE-2020-27542?
Medium severity. CVSS v3 base score is 6.8 out of 10.