Buffer Overflow in Dasan GPON ONT WiFi Router H640X login_action
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.