CVE-2025-14707

9.8 CRITICAL

📋 TL;DR

This is a critical command injection vulnerability in Shiguangwu sgwbox N3 version 2.0.25 that allows remote attackers to execute arbitrary commands on affected systems. The vulnerability exists in the DOCKER feature's http_eshell_server component and can be exploited without authentication. All users running the vulnerable version are affected.

💻 Affected Systems

Products:
  • Shiguangwu sgwbox N3
Versions: 2.0.25
Operating Systems: Linux-based NAS OS
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability affects the DOCKER feature component specifically. All installations with version 2.0.25 appear to be vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise allowing attackers to gain root access, install malware, exfiltrate data, or use the device as part of a botnet.

🟠

Likely Case

Remote code execution leading to data theft, ransomware deployment, or lateral movement within the network.

🟢

If Mitigated

Limited impact if network segmentation and strict firewall rules prevent external access to the vulnerable service.

🌐 Internet-Facing: HIGH - The vulnerability can be exploited remotely without authentication and has public exploit code available.
🏢 Internal Only: HIGH - Even internally, the vulnerability allows unauthenticated command injection which could be exploited by malicious insiders or compromised internal systems.

🎯 Exploit Status

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

Exploit code has been publicly released and the vulnerability requires minimal technical skill to exploit. The vendor has not responded to disclosure attempts.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch is available. Monitor vendor channels for updates. Consider workarounds or replacement if vendor remains unresponsive.

🔧 Temporary Workarounds

Disable DOCKER Feature

linux

Disable the vulnerable DOCKER feature component to prevent exploitation

Check sgwbox documentation for disabling specific features
Consider removing or stopping the http_eshell_server service if possible

Network Segmentation

linux

Isolate sgwbox devices from internet and restrict internal network access

iptables -A INPUT -p tcp --dport [http_eshell_port] -j DROP
ufw deny [http_eshell_port]

🧯 If You Can't Patch

  • Immediately isolate affected devices from internet and restrict network access to only necessary internal systems
  • Implement strict network monitoring and intrusion detection for any traffic to/from sgwbox devices

🔍 How to Verify

Check if Vulnerable:

Check device version via web interface or SSH: grep -i version /etc/os-release or check admin panel

Check Version:

ssh admin@sgwbox 'cat /etc/os-release | grep VERSION' or check web admin interface

Verify Fix Applied:

No official fix available to verify. If vendor releases update, verify version is newer than 2.0.25

📡 Detection & Monitoring

Log Indicators:

  • Unusual commands in system logs
  • Suspicious processes spawned from http_eshell_server
  • Unexpected network connections from sgwbox

Network Indicators:

  • Unusual outbound connections from sgwbox device
  • Traffic to/from unexpected ports on sgwbox
  • Suspicious HTTP requests to http_eshell_server endpoint

SIEM Query:

source="sgwbox" AND (process="http_eshell_server" AND command="*;*" OR command="*|*" OR command="*`*" OR command="*$(*)")

🔗 References

📤 Share & Export