{
  "id": "CVE-2021-41277",
  "url": "https://poc.griffinguard.io/cve/CVE-2021-41277",
  "published_at": "2021-11-17T20:05:11Z",
  "title": "GeoJSON URL validation can expose server files and environment variables to unauthorized users",
  "vendor": "metabase",
  "product": "metabase",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2024-11-12",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1091
  },
  "first_poc": {
    "created_at": "2021-11-21T11:38:08Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 3.6,
    "repo": "tahtaciburak/CVE-2021-41277",
    "source": "github"
  },
  "poc_repo_count": 13,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Metabase is an open source data analytics platform. In affected versions a security issue has been discovered with the custom GeoJSON map (`admin-\u003esettings-\u003emaps-\u003ecustom maps-\u003eadd a map`) support and potential local file inclusion (including environment variables). URLs were not validated prior to being loaded. This issue is fixed in a new maintenance release (0.40.5 and 1.40.5), and any subsequent release after that. If you’re unable to upgrade immediately, you can mitigate this by including rules in your reverse proxy or load balancer or WAF to provide a validation filter before the application.",
  "cwe": "CWE-200",
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [
    {
      "repo": "Seals6/CVE-2021-41277",
      "url": "https://github.com/Seals6/CVE-2021-41277",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:17:34.881Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "tahtaciburak/CVE-2021-41277",
      "url": "https://github.com/tahtaciburak/CVE-2021-41277",
      "created_at": "2021-11-21T11:38:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 11,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-12-10T11:39:12Z"
    },
    {
      "repo": "Henry4E36/Metabase-cve-2021-41277",
      "url": "https://github.com/Henry4E36/Metabase-cve-2021-41277",
      "created_at": "2021-11-22T02:51:49Z",
      "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-07-31T06:14:45Z"
    },
    {
      "repo": "kap1ush0n/CVE-2021-41277",
      "url": "https://github.com/kap1ush0n/CVE-2021-41277",
      "created_at": "2021-11-22T12:49:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-11-22T12:40:18Z"
    },
    {
      "repo": "z3n70/CVE-2021-41277",
      "url": "https://github.com/z3n70/CVE-2021-41277",
      "created_at": "2021-11-22T18:06:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-06-01T03:14:35Z"
    },
    {
      "repo": "kaizensecurity/CVE-2021-41277",
      "url": "https://github.com/kaizensecurity/CVE-2021-41277",
      "created_at": "2021-11-23T06:24:16Z",
      "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": "2019-05-02T02:37:59Z"
    },
    {
      "repo": "Vulnmachines/Metabase_CVE-2021-41277",
      "url": "https://github.com/Vulnmachines/Metabase_CVE-2021-41277",
      "created_at": "2021-11-23T18:01:23Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-13T11:46:24Z"
    },
    {
      "repo": "TheLastVvV/CVE-2021-41277",
      "url": "https://github.com/TheLastVvV/CVE-2021-41277",
      "created_at": "2021-11-24T05:56:46Z",
      "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": "2020-09-11T10:30:23Z"
    },
    {
      "repo": "zer0yu/CVE-2021-41277",
      "url": "https://github.com/zer0yu/CVE-2021-41277",
      "created_at": "2021-12-06T08:52:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 9,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-01-05T04:00:33Z"
    },
    {
      "repo": "sasukeourad/CVE-2021-41277_SSRF",
      "url": "https://github.com/sasukeourad/CVE-2021-41277_SSRF",
      "created_at": "2022-01-10T01:52:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-04-10T13:29:23Z"
    },
    {
      "repo": "grey-master-a/Metabase_Nmap_Script",
      "url": "https://github.com/grey-master-a/Metabase_Nmap_Script",
      "created_at": "2022-01-19T17:43:38Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-05-30T15:22:11Z"
    },
    {
      "repo": "Chen-ling-afk/CVE-2021-41277",
      "url": "https://github.com/Chen-ling-afk/CVE-2021-41277",
      "created_at": "2022-03-11T06:39:38Z",
      "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": "2020-12-19T02:10:33Z"
    },
    {
      "repo": "chengling-ing/CVE-2021-41277",
      "url": "https://github.com/chengling-ing/CVE-2021-41277",
      "created_at": "2022-03-11T06:39:38Z",
      "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": "2020-12-19T02:10:33Z"
    },
    {
      "repo": "KatherineHuangg/metasploit-POC",
      "url": "https://github.com/KatherineHuangg/metasploit-POC",
      "created_at": "2022-07-13T12:30:11Z",
      "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": "2020-03-06T12:56:49Z"
    },
    {
      "repo": "RubXkuB/PoC-Metabase-CVE-2021-41277",
      "url": "https://github.com/RubXkuB/PoC-Metabase-CVE-2021-41277",
      "created_at": "2023-04-24T16:34:13Z",
      "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": "2022-04-21T06:40:21Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-41277.yaml",
      "source": "nuclei",
      "title": "nuclei template: Metabase - 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": "/api/geojson",
      "query_markers": [
        "url=file://",
        "url=file:/etc/passwd",
        "url=file:///etc/passwd",
        "url=file:////etc/passwd"
      ],
      "ports": [
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
      ],
      "protocol": "http",
      "repos": [
        "RubXkuB/PoC-Metabase-CVE-2021-41277",
        "Vulnmachines/Metabase_CVE-2021-41277",
        "grey-master-a/Metabase_Nmap_Script",
        "kap1ush0n/CVE-2021-41277",
        "tahtaciburak/CVE-2021-41277"
      ],
      "repo_count": 5,
      "confidence": 0.85,
      "evidence": [
        "RubXkuB/PoC-Metabase-CVE-2021-41277/Metabase-Checker-CVE-2021–41277.py:21",
        "RubXkuB/PoC-Metabase-CVE-2021-41277/Metabase-Checker-CVE-2021–41277.py:28",
        "Vulnmachines/Metabase_CVE-2021-41277/payload:1",
        "grey-master-a/Metabase_Nmap_Script/metabase.nse:61",
        "grey-master-a/Metabase_Nmap_Script/metabase.nse:63",
        "kap1ush0n/CVE-2021-41277/CVE-2021-41277.py:27",
        "kap1ush0n/CVE-2021-41277/CVE-2021-41277.py:30",
        "tahtaciburak/CVE-2021-41277/main.go:21"
      ]
    },
    {
      "method": "GET",
      "path_template": "/$2",
      "protocol": "http",
      "repos": [
        "TheLastVvV/CVE-2021-41277"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "TheLastVvV/CVE-2021-41277/CVE-2021-41277.sh:9"
      ]
    },
    {
      "method": "GET",
      "path_template": "//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp",
      "query_markers": [
        "cmd=ls"
      ],
      "protocol": "https",
      "repos": [
        "KatherineHuangg/metasploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "KatherineHuangg/metasploit-POC/CVE-2022-29464/wso2_file_upload_rce.py:82"
      ]
    },
    {
      "method": "GET",
      "path_template": "/abc.jsp",
      "protocol": "https",
      "repos": [
        "KatherineHuangg/metasploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "KatherineHuangg/metasploit-POC/CVE-2022-26352/dotcms_file_upload_rce.py:64",
        "KatherineHuangg/metasploit-POC/CVE-2022-26352/dotcms_file_upload_rce.py:81"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/v1/search/all",
      "query_markers": [
        "email=",
        "key=",
        "qbase64=",
        "size=100"
      ],
      "protocol": "https",
      "repos": [
        "kap1ush0n/CVE-2021-41277"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "kap1ush0n/CVE-2021-41277/CVE-2021-41277.py:16"
      ]
    },
    {
      "method": "GET",
      "path_template": "/etc/passwd",
      "user_agents": [
        "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) Gecko/20100101 Firefox/87.0"
      ],
      "protocol": "http",
      "repos": [
        "Henry4E36/Metabase-cve-2021-41277"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Henry4E36/Metabase-cve-2021-41277/Metabase-cve-2021-41277.py:33",
        "Henry4E36/Metabase-cve-2021-41277/Metabase-cve-2021-41277.py:50"
      ]
    },
    {
      "method": "POST",
      "path_template": "//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp/fileupload/toolsAny",
      "body_markers": [
        "name=\"../../../../repository/deployment/server/webapps/authenticationendpoint/abc.jsp\""
      ],
      "content_type": "multipart/form-data",
      "protocol": "https",
      "repos": [
        "KatherineHuangg/metasploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "KatherineHuangg/metasploit-POC/CVE-2022-29464/wso2_file_upload_rce.py:73"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/content/",
      "body_markers": [
        "name=\"../../../../../../../../../srv/dotserver/tomcat-9.0.41/webapps/ROOT/html/js/dojo/abc.jsp\""
      ],
      "content_type": "multipart/form-data",
      "protocol": "https",
      "repos": [
        "KatherineHuangg/metasploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "KatherineHuangg/metasploit-POC/CVE-2022-26352/dotcms_file_upload_rce.py:72"
      ]
    }
  ],
  "rules": []
}
