通道:VulDB(首选) / MITRE(备选)
| Field | Value |
|---|---|
| Vendor | 360 (Qihoo 360) |
| Product | 360 Smart Camera (IPC) |
| Component | fs2/bin/iscm — verify_sign / upgrade_thread / upgrade_burn_firmware |
| Affected versions | 6.0.24 ~ 6.4.9 (all obtained versions, including latest firmware) |
| Fixed version | None — unfixed in 6.4.9 |
| Affected models | D621-2 / D603-2 / D600-2 / D619 / D606-6 / D706 (MIPS · Ingenic JZ series) |
| Vulnerability type | CWE-347 Improper Verification of Cryptographic Signature |
| CVSS 3.1 | 7.5 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Requester | (报送时填写) |
| (报送时填写) | |
| Vendor notified | security@360.cn on 2026-10-06 — vendor replied instructing submission via their SRC platform |
| Discovery | Firmware reverse engineering (full disassembly) + QEMU user-mode dynamic reproduction — no real device, no internet |
| Disclosure | Coordinated — request embargo until vendor fixes (or 90 days) |
A vulnerability was found in Qihoo 360 Smart Camera (IPC) firmware up to 6.4.9. It has been rated as high. This vulnerability affects the function verify_sign of the file fs2/bin/iscm. The manipulation of the argument sign with an empty string leads to improper verification of a cryptographic signature (CWE-347). It is possible to launch the attack remotely from a network position. This vulnerability may be used by attackers to flash unsigned firmware and achieve persistent code execution on the affected device.
verify_sign() returns 0 (interpreted by the caller as "signature valid")
whenever the signature string is empty:
/* verify_sign(path, md5_expected, sign) — 6.3.2 @0x44768c / 6.4.9 @0x450d50 */
if (sign[0] == '\0') return 0; /* empty signature == "verified" */
... base64_dec → RSA_public_decrypt → md5 + sha384 compare ...In the cloud/App push command firmwareUpgrade, the handler performs only an
existence check on the sign JSON field (json_object_object_get(obj,"sign")
→ non-NULL when the key is present). Supplying "sign": "" (present but empty)
therefore passes the check, and the empty string reaches verify_sign, which
returns 0 ⇒ the unsigned firmware image is accepted.
- The unsigned image is downloaded and flashed via
system("burn_helper /tmp/FIRMWARE.bin &")into the MTD partition, then the device reboots. iscmruns as root (started from/system_rw/rc.local) ⇒ persistent root RCE that survives reboot/power-cycle.- The full chain was reproduced end-to-end under QEMU: unsigned "firmware" accepted → written to the boot-execution point → executes after reboot → reverse shell established.
- Bypasses the entire RSA-2048 + base64 + md5/sha384 verification chain.
AV:N/AC:H — the firmwareUpgrade command is delivered over the cloud/App push
channel (plaintext HTTP); a network MITM position, or control of the push channel,
is required. No LAN unauthenticated entry point exists (iscm has a single
recvfrom in a closed P2P stack; xnet_pipecmd binds 127.0.0.1).
None public (no vendor advisory yet). Local audit chain + PoC available on request.
| File | Content |
|---|---|
evidence/V3_gdb_verify_sign_双重验证.txt |
Direct verify_sign call: empty → 0 ("valid"); non-empty invalid → -1 |
evidence/V3_完整流程日志_sign为空.log |
End-to-end: Camera begin update → download → before/after call burn_helper |
evidence/V3_完整流程日志_对照组非法签名.log |
Control group: RSA length mismatch, burn_helper not called |
evidence/V5_RCE证明_未签名固件执行.txt |
RCE proof produced after reboot by the unsigned firmware |
evidence/V5_反弹shell会话_未签名固件链.txt |
Reverse shell session (device version string confirmed) |