Command Injection in Dasan GPON Home Routers diag_Form
CVE-2018-10562 is a command injection vulnerability in Dasan GPON home routers. The flaw is reachable via the dest_host parameter in a diag_action=ping request sent to the /GponForm/diag_Form URI. Insufficient sanitization of user-controlled input allows shell metacharacters or injected commands to be processed by the underlying system command used for the diagnostic ping function. The router stores ping results in /tmp and later returns those results when the user revisits /diag.html, which provides a straightforward channel to retrieve command output. Supporting context also indicates this issue has been widely characterized as a root remote code execution flaw on affected GPON routers, especially when paired with CVE-2018-10561 authentication bypass.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository contains a Python exploit script (Pingpon.py) and a README.md. The script automates the exploitation of a remote code execution vulnerability (CVE-2018-10562) in GPON home routers. It uses the Shodan API to search for internet-exposed GPON routers, then sends a crafted POST request to the '/GponForm/diag_Form?images/' endpoint on each discovered device, injecting arbitrary Linux commands via the 'dest_host' parameter. The script then retrieves the output of the executed command from the '/diag.html?images/' endpoint. The user must provide a valid Shodan API key (stored in 'api.txt') and the Linux command to execute. The README provides usage instructions and prerequisites. The exploit is operational, allowing mass exploitation of vulnerable routers for arbitrary command execution.
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.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A high-severity vulnerability affecting Dasan GPON home routers that remains prominent in detections and has available exploit code according to the report.
A vulnerability explicitly observed being targeted by the Aquabot botnet as part of its propagation activity.
A vulnerability explicitly observed being targeted by the Aquabot botnet as part of its propagation activity.
A command injection vulnerability in Dasan GPON routers (CVE-2018-10562) allows attackers to execute arbitrary commands via the dest_host parameter.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.