Description
An issue was discovered on Dasan GPON home routers. Command Injection can occur via the dest_host parameter in a diag_action=ping request to a GponForm/diag_Form URI. Because the router saves ping results in /tmp and transmits them to the user when the user revisits /diag.html, it's quite simple to execute commands and retrieve their output.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- GPON Routers - Authentication Bypass / Command Injection EDB-44576 · remote · May 3, 2018
GitHub 6 repositories
-
649/Pingpon-Exploit ★ 24 · May 15, 2018
Exploit for Mass Remote Code Execution on GPON home routers (CVE-2018-10562) obtained from Shodan.
-
c0ld1/GPON_RCE ★ 4 · May 26, 2018
Exploit for Remote Code Execution on GPON home routers (CVE-2018-10562) written in Python.
-
ATpiu/CVE-2018-10562 ★ 3 · Jun 6, 2018
Exploit for CVE-2018-10562
-
Choudai/GPON-LOADER ★ 2 · May 17, 2018
Exploit loader for Remote Code Execution w/ Payload on GPON Home Gateway devices (CVE-2018-10562) written in Python.
-
tpdlshdmlrkfmcla/backdoor.mirai.helloworld ★ 0 · Mar 31, 2025
backdoor.mirai.helloworld cve2018-20561, cve-2018-10562 해킹
-
ExiaHan/GPON ★ 0 · May 7, 2018
Python exploit for Remote Code Executuion on GPON home routers (CVE-2018-10562). Initially disclosed by VPNMentor (https://www.vpnmentor.com/blog/critical-vulnerability-gpon-router/), kudos for their…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Dasan GPON Devices - Remote Code Execution http/cves/2018/CVE-2018-10562.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- 107053 vdb-entry
- 44576 exploit
- https://www.vpnmentor.com/blog/critical-vulnerability-gpon-router/