CVE-2024-57471

9.8 CRITICAL

📋 TL;DR

H3C N12 V100R005 wireless routers contain a buffer overflow vulnerability in their 2.4G wireless network processing function. Attackers can exploit this by sending specially crafted POST requests to /bin/webs, potentially causing device crashes or remote code execution. This affects all users of H3C N12 routers running V100R005 firmware.

💻 Affected Systems

Products:
  • H3C N12 wireless router
Versions: V100R005
Operating Systems: Embedded firmware
Default Config Vulnerable: ⚠️ Yes
Notes: All devices running the affected firmware version are vulnerable by default. The web interface must be accessible for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote unauthenticated attackers gain full control of the router, enabling network traffic interception, credential theft, and lateral movement into connected networks.

🟠

Likely Case

Attackers cause denial of service by crashing the router, disrupting network connectivity for all connected devices.

🟢

If Mitigated

With proper network segmentation and access controls, impact is limited to isolated network segments.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable via HTTP POST requests to a web endpoint.
🏢 Internal Only: HIGH - Even internally, any network-accessible device can be exploited without authentication.

🎯 Exploit Status

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

Proof of concept code is publicly available. Exploitation requires sending a crafted HTTP POST request to the vulnerable endpoint.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: http://h3c.com

Restart Required: Yes

Instructions:

1. Check H3C website for firmware updates. 2. Download latest firmware. 3. Access router admin interface. 4. Navigate to firmware upgrade section. 5. Upload and apply new firmware. 6. Reboot router.

🔧 Temporary Workarounds

Disable Web Management Interface

all

Prevent access to the vulnerable /bin/webs endpoint by disabling the web management interface.

telnet [router_ip]
system-view
undo ip http enable
undo ip https enable
quit
save

Restrict Web Interface Access

all

Limit access to the web management interface to trusted IP addresses only.

telnet [router_ip]
system-view
acl number 2000
rule permit source [trusted_ip] 0
rule deny source any
quit
ip http acl 2000
quit
save

🧯 If You Can't Patch

  • Isolate affected routers in dedicated VLANs with strict firewall rules.
  • Implement network monitoring for POST requests to /bin/webs endpoint.

🔍 How to Verify

Check if Vulnerable:

Check firmware version via web interface or CLI: display version. If version is V100R005, device is vulnerable.

Check Version:

display version

Verify Fix Applied:

After firmware update, verify version is no longer V100R005. Test by attempting to access /bin/webs endpoint (should not be vulnerable).

📡 Detection & Monitoring

Log Indicators:

  • Multiple POST requests to /bin/webs
  • Router crash/reboot events
  • Unusual traffic patterns from external IPs

Network Indicators:

  • HTTP POST requests to /bin/webs with large payloads
  • Traffic spikes to router management interface

SIEM Query:

source_ip=* AND destination_port=80 AND http_method=POST AND url_path="/bin/webs"

🔗 References

📤 Share & Export