CVE-2025-66177

8.8 HIGH

📋 TL;DR

A stack overflow vulnerability in Hikvision's device Search and Discovery feature allows attackers on the same local network to crash devices by sending specially crafted packets. This affects Hikvision NVR, DVR, CVR, and IPC models with unpatched firmware. The vulnerability requires LAN access but can cause denial of service.

💻 Affected Systems

Products:
  • Hikvision NVR
  • Hikvision DVR
  • Hikvision CVR
  • Hikvision IPC
Versions: Specific affected versions not detailed in advisory; check vendor advisory for exact ranges
Operating Systems: Embedded firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Affects devices with Search and Discovery feature enabled (typically default). Exact model list in vendor advisory.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device crash requiring physical reboot, potentially disrupting surveillance operations and causing data loss during recording.

🟠

Likely Case

Device becomes unresponsive or reboots, interrupting surveillance feeds and requiring manual intervention.

🟢

If Mitigated

Minimal impact with proper network segmentation and patching, though temporary service interruption possible during attack.

🌐 Internet-Facing: LOW - Attack requires local network access; direct internet exploitation unlikely unless devices are improperly exposed.
🏢 Internal Only: HIGH - Attackers on the same LAN can exploit this without authentication to disrupt surveillance systems.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires crafting specific packets but no authentication needed. LAN access is the primary barrier.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check vendor advisory for specific firmware versions

Vendor Advisory: https://www.hikvision.com/en/support/cybersecurity/security-advisory/buffer-overflow-vulnerabilities-in-some-hikvision-products/

Restart Required: Yes

Instructions:

1. Visit Hikvision security advisory. 2. Identify affected models. 3. Download latest firmware. 4. Upload via web interface. 5. Reboot device.

🔧 Temporary Workarounds

Disable Search and Discovery

all

Turn off the vulnerable feature if not required for operations

Network Segmentation

all

Isolate surveillance devices on separate VLAN with strict access controls

🧯 If You Can't Patch

  • Segment surveillance network from general corporate LAN using firewalls
  • Implement network monitoring for abnormal UDP/TCP traffic to device discovery ports

🔍 How to Verify

Check if Vulnerable:

Check device firmware version against vendor advisory; if Search and Discovery is enabled and firmware is outdated, assume vulnerable.

Check Version:

Check via web interface: System > Maintenance > Version Information

Verify Fix Applied:

Verify firmware version matches patched version in advisory and test Search and Discovery functionality.

📡 Detection & Monitoring

Log Indicators:

  • Device reboot logs
  • Service crash entries
  • Abnormal packet size logs in network logs

Network Indicators:

  • Unusual UDP/TCP traffic to device discovery ports (typically 37020)
  • Large packets to surveillance devices

SIEM Query:

source="network_firewall" dest_port=37020 packet_size>1000

🔗 References

📤 Share & Export