CVE-2023-45467

9.8 CRITICAL

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary commands on Netis N3Mv2 routers by injecting malicious input into the ntpServIP parameter in Time Settings. It affects users of Netis N3Mv2-V1.0.1.865 firmware. Exploitation can lead to full system compromise.

💻 Affected Systems

Products:
  • Netis N3Mv2 router
Versions: V1.0.1.865
Operating Systems: Embedded Linux-based firmware
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability is present in the default configuration of the affected firmware version.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete takeover of the router, enabling data theft, network disruption, or use as a botnet node.

🟠

Likely Case

Unauthenticated remote code execution, allowing attackers to modify settings, intercept traffic, or deploy malware.

🟢

If Mitigated

Limited impact if network segmentation and strict access controls prevent external exploitation.

🌐 Internet-Facing: HIGH, as the vulnerability is unauthenticated and can be exploited remotely over the internet.
🏢 Internal Only: HIGH, as internal attackers or malware could exploit it to pivot within the network.

🎯 Exploit Status

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

Proof-of-concept details are publicly available, making exploitation straightforward for attackers.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Not known

Restart Required: No

Instructions:

Check the vendor's website for firmware updates; if unavailable, consider workarounds or replacement.

🔧 Temporary Workarounds

Disable external NTP access

all

Restrict NTP configuration to internal trusted servers only via the router's web interface.

Network segmentation

all

Isolate the router on a separate VLAN to limit exposure and potential lateral movement.

🧯 If You Can't Patch

  • Implement strict network access controls to block external access to the router's management interface.
  • Monitor logs for unusual commands or NTP-related anomalies and consider replacing the device if updates are not forthcoming.

🔍 How to Verify

Check if Vulnerable:

Check the firmware version in the router's web interface under System or Admin settings; if it is V1.0.1.865, it is vulnerable.

Check Version:

Log into the router's web interface and navigate to System Information or similar to view the firmware version.

Verify Fix Applied:

Verify by updating to a patched firmware version (if available) and testing for command injection via the ntpServIP parameter.

📡 Detection & Monitoring

Log Indicators:

  • Unusual commands in system logs, unexpected NTP server changes, or shell command executions from web requests.

Network Indicators:

  • Suspicious HTTP POST requests to the Time Settings endpoint with crafted ntpServIP parameters.

SIEM Query:

Example: search for web logs with 'ntpServIP' containing shell metacharacters like ;, |, or &.

🔗 References

📤 Share & Export