CVE-2024-51012

5.7 MEDIUM

📋 TL;DR

This vulnerability in Netgear R8500 routers allows attackers to cause a Denial of Service (DoS) by sending a specially crafted POST request to the ipv6_fix.cgi endpoint. The stack overflow in the ipv6_pri_dns parameter can crash the router, disrupting network services. Only users running Netgear R8500 firmware version 1.0.2.160 are affected.

💻 Affected Systems

Products:
  • Netgear R8500
Versions: v1.0.2.160
Operating Systems: Embedded router firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects devices with IPv6 configuration enabled and accessible web interface.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Router becomes completely unresponsive, requiring physical power cycle or factory reset to restore functionality, causing extended network downtime.

🟠

Likely Case

Router crashes and reboots automatically, causing temporary network disruption (1-3 minutes) until services are restored.

🟢

If Mitigated

With proper network segmentation and access controls, impact is limited to isolated network segments with minimal business disruption.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit requires network access to router's web interface but no authentication. Simple curl command can trigger the vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check Netgear support for latest firmware

Vendor Advisory: https://www.netgear.com/about/security/

Restart Required: Yes

Instructions:

1. Log into Netgear router admin interface. 2. Navigate to Advanced > Administration > Firmware Update. 3. Check for updates and apply latest firmware. 4. Reboot router after update completes.

🔧 Temporary Workarounds

Disable IPv6

all

Disable IPv6 functionality to remove vulnerable code path

Login to router admin > Advanced > Advanced Setup > IPv6 > Disable IPv6

Restrict Web Interface Access

all

Limit access to router admin interface to trusted networks only

Login to router admin > Advanced > Security > Access Control > Set allowed IP ranges

🧯 If You Can't Patch

  • Segment router management interface to isolated VLAN with strict access controls
  • Implement network monitoring for abnormal POST requests to ipv6_fix.cgi endpoint

🔍 How to Verify

Check if Vulnerable:

Check router firmware version in admin interface: Advanced > Administration > Router Status > Firmware Version

Check Version:

curl -s http://router-ip/currentsetting.htm | grep Firmware

Verify Fix Applied:

Verify firmware version is newer than v1.0.2.160 and test IPv6 functionality remains operational

📡 Detection & Monitoring

Log Indicators:

  • Router crash/reboot logs
  • Multiple POST requests to /ipv6_fix.cgi
  • Abnormal IPv6 configuration attempts

Network Indicators:

  • HTTP POST to /ipv6_fix.cgi with large ipv6_pri_dns parameter
  • Sudden loss of router connectivity

SIEM Query:

source="router.log" AND ("ipv6_fix.cgi" OR "POST /ipv6_fix.cgi")

🔗 References

📤 Share & Export