CVE-2020-27542
JSON

6.8medium

Rostelecom CS-C2SHW 5.0.082.1 is affected by: Bash command injection.

Severity
6.8medium CVSS:3.1 by NVD
Exploit likelihood
1.18% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
company cs-c2shw_firmware5.0.082.1NVD

All scores

NVD6.8medium CVSS:3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Rostelecom CS-C2SHW versión 5.0.082.1, está afectado por: una Inyección de comando Bash. La cámara lee la configuración del código QR (incluyendo la configuración de red). La configuración de la IP estática del código QR se copia al archivo /config/ip-static y después de reiniciar los datos de este archivo es insertado en el comando bash (sin ningún escape). Entonces la inyección bash es posible. La cámara no analiza los códigos QR si ya está configurada con éxito. La cámara siempre se reinicia después de una configuración con éxito por medio del código QR

References

Sources

SourceRecordLicence
CVE ListCVE-2020-27542 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-27542 changed 2026-06-17Public domain