{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2018-10562 in the wild since at least 31 Mar 2022, including in ransomware campaigns.","fix":"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.","what":"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."},"fix_prompt":"Check this codebase for CVE-2018-10562 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: Yes. Attackers have exploited CVE-2018-10562 in the wild since at least 31 Mar 2022, including in ransomware campaigns.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-10562/ (Markdown: https://insights.sbomify.com/CVE-2018-10562/index.md)","id":"CVE-2018-10562","markdown":"https://insights.sbomify.com/CVE-2018-10562/index.md","name":"CVE-2018-10562","record":{"aliases":["GHSA-6x97-cqx6-mvmq"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Dasan GPON router","requires_auth":"none","summary":"Attackers can execute arbitrary commands on Dasan GPON home routers via the ping diagnostic feature, potentially gaining full control of the device.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gpon_router_firmware","vendor":"dasannetworks"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-05-03","github_poc":6,"max_poc_stars":24,"metasploit":0,"nuclei":1,"refs":[{"date":"2018-05-15T17:31:21Z","kind":"github_poc","ref":"https://github.com/649/Pingpon-Exploit","stars":24,"title":"Exploit for Mass Remote Code Execution on GPON home routers (CVE-2018-10562) obtained from Shodan."},{"date":"2018-05-26T08:05:22Z","kind":"github_poc","ref":"https://github.com/c0ld1/GPON_RCE","stars":4,"title":"Exploit for Remote Code Execution on GPON home routers (CVE-2018-10562) written in Python."},{"date":"2018-06-06T09:43:40Z","kind":"github_poc","ref":"https://github.com/ATpiu/CVE-2018-10562","stars":3,"title":"Exploit for CVE-2018-10562"},{"date":"2018-05-17T22:03:47Z","kind":"github_poc","ref":"https://github.com/Choudai/GPON-LOADER","stars":2,"title":"Exploit loader for Remote Code Execution w/ Payload on GPON Home Gateway devices (CVE-2018-10562) written in Python."},{"date":"2018-05-03","kind":"exploitdb","ref":"44576","stars":null,"title":"GPON Routers - Authentication Bypass / Command Injection"},{"date":"2018-05-07T16:56:18Z","kind":"github_poc","ref":"https://github.com/ExiaHan/GPON","stars":0,"title":"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 work."},{"date":"2025-03-31T00:51:58Z","kind":"github_poc","ref":"https://github.com/tpdlshdmlrkfmcla/backdoor.mirai.helloworld","stars":0,"title":"backdoor.mirai.helloworld cve2018-20561, cve-2018-10562 해킹"},{"date":null,"kind":"nuclei","ref":"http/cves/2018/CVE-2018-10562.yaml","stars":null,"title":"Dasan GPON Devices - Remote Code Execution"}],"tier":"exploited"},"has_fix":null,"headline":"Dasan GPON Routers Command Injection","id":"CVE-2018-10562","indexable":true,"kev":{"dateAdded":"2022-03-31","dueDate":"2022-04-21","knownRansomwareCampaignUse":"Known","product":"Gigabit Passive Optical Network (GPON) Routers","requiredAction":"The impacted product is end-of-life and should be disconnected if still in use.","vendorProject":"Dasan","vulnerabilityName":"Dasan GPON Routers Command Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-10563"},"packages":[],"prev":{"headline":"Dasan GPON Routers Authentication Bypass","id":"CVE-2018-10561"},"products":["n/a"],"published":"2018-05-04","related":[{"cvss_score":9.8,"headline":"Dasan GPON Routers Authentication Bypass","id":"CVE-2018-10561","kev_date_added":"2022-03-31","published":"2018-05-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands on Dasan GPON home routers via the ping diagnostic feature, potentially gaining full control of the device.","url":"https://insights.sbomify.com/CVE-2018-10562/"}