CVE-2019-14702

9.8 CRITICAL

📋 TL;DR

This CVE describes SQL injection vulnerabilities in 13 HTTPD forms on MicroDigital N-series cameras. Attackers can exploit these vulnerabilities to execute arbitrary SQL commands, potentially creating admin accounts or accessing sensitive data. All users of affected MicroDigital N-series cameras with vulnerable firmware are at risk.

💻 Affected Systems

Products:
  • MicroDigital N-series cameras
Versions: Firmware through 6400.0.8.5
Operating Systems: Embedded Linux (camera firmware)
Default Config Vulnerable: ⚠️ Yes
Notes: All default configurations are vulnerable as the SQL injection exists in core HTTPD forms.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise allowing attacker to create admin accounts, access all camera data, modify configurations, and potentially pivot to other network systems.

🟠

Likely Case

Unauthorized admin account creation leading to camera control, video feed access, and configuration changes.

🟢

If Mitigated

Limited impact with proper network segmentation and access controls preventing external exploitation.

🌐 Internet-Facing: HIGH - HTTPD service is typically internet-facing on cameras, making exploitation trivial from anywhere.
🏢 Internal Only: HIGH - Even internally, SQL injection can be exploited by any network user with access to the camera interface.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

SQL injection in HTTP forms is trivial to exploit with basic web testing tools. Pastebin references suggest exploit details are publicly available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: http://www.microdigital.co.kr/

Restart Required: Yes

Instructions:

1. Check vendor website for firmware updates. 2. Download latest firmware. 3. Upload via camera web interface. 4. Reboot camera.

🔧 Temporary Workarounds

Network Segmentation

all

Isolate cameras on separate VLAN with no internet access

Web Application Firewall

all

Deploy WAF with SQL injection rules in front of cameras

🧯 If You Can't Patch

  • Block all external access to camera HTTPD ports (typically 80/443)
  • Implement strict network ACLs allowing only trusted management IPs

🔍 How to Verify

Check if Vulnerable:

Check firmware version in camera web interface under System > Information

Check Version:

curl -s http://camera-ip/systeminfo | grep Firmware

Verify Fix Applied:

Verify firmware version is above 6400.0.8.5 and test SQL injection payloads on login/configuration forms

📡 Detection & Monitoring

Log Indicators:

  • SQL syntax errors in HTTPD logs
  • Multiple failed login attempts followed by successful admin creation
  • Unusual SQL queries in database logs

Network Indicators:

  • HTTP POST requests with SQL keywords (SELECT, UNION, INSERT) to camera forms
  • Traffic to camera on non-standard ports

SIEM Query:

source="camera_logs" AND ("sql" OR "union" OR "select" OR "insert") AND status=200

🔗 References

📤 Share & Export