CVE-2017-18046: Buffer Overflow in Dasan GPON ONT WiFi Router H640X login_action
- Vendor
- Dasan Networks
A buffer overflow vulnerability exists in the Dasan GPON ONT WiFi Router H640X (firmware versions 12.02-01121 2.77p1-1124 and 3.03p2-1146) in the login_action function of /cgi-bin/login_action.cgi (also known as cgipage.cgi). Remote attackers can exploit this by sending a specially crafted, overly long POST request, leading to arbitrary code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary code on the affected device, potentially leading to full compromise of the router, unauthorized access to the network, and further attacks on connected systems.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the router's web interface to trusted networks only, disable remote management if not required, and monitor for abnormal POST requests to /cgi-bin/login_action.cgi. Employ network segmentation to limit exposure of vulnerable devices.
Remediation
Patch, then assume compromise.
Upgrade the router firmware to a version that addresses this buffer overflow vulnerability. If no patch is available from the vendor, consider replacing the device with a supported model.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2017-18046 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2017-18046?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2017-18046.
- Is there a patch for CVE-2017-18046?
- Upgrade the router firmware to a version that addresses this buffer overflow vulnerability. If no patch is available from the vendor, consider replacing the device with a supported model.
- What products are affected by CVE-2017-18046?
- Dasan Networks H640x Firmware.
- How severe is CVE-2017-18046?
- CVE-2017-18046 has a CVSS v3 score of 9.8 (Critical) and an EPSS score of 5.0% (92nd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.