CVE-2018-10562 Dasan GPON Routers Command Injection
Attackers can execute arbitrary commands on Dasan GPON home routers via the ping diagnostic feature, potentially gaining full control of the device.
- Exploited in the wild
- Since 31 Mar 2022
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-10562?
CVE-2018-10562 is a critical command injection vulnerability in n/a, published on 4 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2018-10562?
It affects 1 product.
Products include Dasannetworks Gpon Router Firmware.
How do I fix CVE-2018-10562?
No fix has been published for CVE-2018-10562 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 21 Apr 2022.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-10562 being exploited?
Yes. Attackers have exploited CVE-2018-10562 in the wild since at least 31 Mar 2022, including in ransomware campaigns.
Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 6 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6x97-cqx6-mvmq.