PoC Monitor
← All CVEs
CVE-2022-23131published 13 Jan 2022 15:50 UTCData: JSON · API

Zabbix Frontend

Unsafe client-side session storage leading to authentication bypass/instance takeover via Zabbix Frontend with configured SAML

In the case of instances where the SAML SSO authentication is enabled (non-default), session data can be modified by a malicious actor, because a user login stored in the session was not verified. Malicious unauthenticated actor may exploit this issue to escalate privileges and gain admin access to Zabbix Frontend. To perform the attack, SAML authentication is required to be enabled and the actor has to know the username of Zabbix user (or use the guest account, which is disabled by default).

First public PoC 36 daysafter publication · 18 Feb 2022
Public PoCs2120 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.1critical · scored by CNA · CWE-290
CISA KEV 22 Feb 202240 days after publication

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35CVE published13 Jan 2022 · t = 0First public PoC18 Feb 2022 · t+36dAdded to CISA KEV22 Feb 2022 · t+40d

First public PoC 36 days after publication; added to CISA KEV 40 days after publication. First PoC: jweny/CVE-2022-23131 (created 18 Feb 2022, found by us: backfilled).

PoC repositories

Found on GitHub.

20 PoCs · 3 pending · 2 informational · 1 suspicious or fake

PoCs 20
RepositoryCreatedStarsAssessment
ad-calcium/vuln_script 8 Jul 2021 −189 d 1 PoC older repo: PoC date unknown, not used for the first PoC
jweny/CVE-2022-23131 18 Feb 2022 +36 d 94 PoC
jweny/zabbix-saml-bypass-exp 18 Feb 2022 +36 d 94 PoC
Mr-xn/cve-2022-23131 18 Feb 2022 +36 d 155 PoC
1mxml/CVE-2022-23131 18 Feb 2022 +36 d 3 PoC
zwjjustdoit/cve-2022-23131 21 Feb 2022 +38 d 1 PoC
L0ading-x/cve-2022-23131 22 Feb 2022 +39 d 29 PoC
random-robbie/cve-2022-23131-exp 23 Feb 2022 +41 d 8 PoC
trganda/CVE-2022-23131 24 Feb 2022 +42 d 1 PoC
pykiller/CVE-2022-23131 24 Feb 2022 +42 d 2 PoC
Fa1c0n35/zabbix-cve-2022-23131 27 Feb 2022 +45 d 1 PoC
kh4sh3i/CVE-2022-23131 28 Feb 2022 +46 d 15 PoC
Kazaf6s/CVE-2022-23131 2 Apr 2022 +79 d 11 PoC
SCAMagic/CVE-2022-23131poc-exp-zabbix- 22 Jul 2022 +190 d 8 PoC
Arrnitage/CVE-2022-23131_exp 9 Jan 2023 +361 d 0 PoC
r10lab/CVE-2022-23131 24 Oct 2023 +1.8 y 0 PoC
fork-bombed/CVE-2022-23131 18 Sep 2024 +2.7 y 5 PoC
davidzzo23/CVE-2022-23131 25 Oct 2024 +2.8 y 2 PoC
dagowda/Zabbix-cve-2022-23131-SSO-bypass 30 Nov 2024 +2.9 y 0 PoC
0xbara/cve-2022-23131 16 Apr 2025 +3.3 y 0 PoC
Pending 3
RepositoryCreatedStarsAssessment
0tt7/CVE-2022-23131 unknown 0 Pending · repository unavailable (HTTP 404)
trhacknon/CVE-2022-23131 unknown 0 Pending · repository unavailable (HTTP 404)
wr0x00/cve-2022-23131 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 2
RepositoryCreatedStarsAssessment
Vulnmachines/Zabbix-CVE-2022-23131 2 Sep 2022 +232 d 2 Informational · write-up
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

clearcdq/Zabbix-SAML-SSO-_CVE-2022-23131 21 Feb 2023 +1.1 y 1 Informational · write-up
Suspicious or fake 1
RepositoryCreatedStarsAssessment
iluaster/getdrive_PoC 10 Aug 2023 +1.6 y 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Zabbix - SAML SSO Authentication Bypass27 Apr 202314 Nov 2026

PoC characteristics

What to hunt for in your logs · from 20 PoC repos

GET /index_sso.php

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept: */* Accept: application/json Accept-Language: zh-CN,zh;q=0.8 Accept-Language: zh-CN,zh;q=0.9 Cache-Control: max-age=0 Cookie: zbx_session=eyJzYW1sX2RhdGEiOnsidXNlcm5hbWVfYXR0cmlidXRlIjoiQWRtaW4ifSwic2Vzc2lvbmlkIjoiIiwic2lnbiI6IiJ9 Cookie: {var} Upgrade-Insecure-Requests: 1
Body markers
zbx_session:
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Seen in
7 repos: 1mxml/CVE-2022-23131, ad-calcium/vuln_script, davidzzo23/CVE-2022-23131, fork-bombed/CVE-2022-23131, kh4sh3i/CVE-2022-23131, pykiller/CVE-2022-23131, zwjjustdoit/cve-2022-23131
Evidence
1mxml/CVE-2022-23131/POC.py:16 ad-calcium/vuln_script/CVE-2022-23131.py:56 davidzzo23/CVE-2022-23131/CVE-2022-23131.py:22 fork-bombed/CVE-2022-23131/cve-2022-23131.py:38 kh4sh3i/CVE-2022-23131/CVE-2022-23131.yaml:25 pykiller/CVE-2022-23131/zabbix.py:38

GET /zabbix/index_sso.php

Key headers
Cookie: zbx_session=eyJzYW1sX2RhdGEiOnsidXNlcm5hbWVfYXR0cmlidXRlIjoiQWRtaW4ifSwic2Vzc2lvbmlkIjoiIiwic2lnbiI6IiJ9
Seen in
1 repo: kh4sh3i/CVE-2022-23131
Evidence
kh4sh3i/CVE-2022-23131/CVE-2022-23131.yaml:24

GET //{var}:{var}/cgi-bin/rpc

Query
action=verify-haras:
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.9
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/sunlogin_rce.py:50 ad-calcium/vuln_script/sunlogin_rce.py:74 ad-calcium/vuln_script/sunlogin_rce.py:106

GET //{var}index_sso.php

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 Cache-Control: max-age=0 Cookie: zbx_session=eyJzYW1sX2RhdGEiOnsidXNlcm5hbWVfYXR0cmlidXRlIjoiQWRtaW4ifSwic2Vzc2lvbmlkIjoiIiwic2lnbiI6IiJ9 Referer: https://fofa.info/ Upgrade-Insecure-Requests: 1
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
Seen in
1 repo: SCAMagic/CVE-2022-23131poc-exp-zabbix-
Evidence
SCAMagic/CVE-2022-23131poc-exp-zabbix-/zabbix-exp.py:39

GET /actuator/gateway/routes/{var}

Key headers
Accept: */*
Content-Type
application/json
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/CVE-2022-22947.py:61

GET /api/interface/list

Query
page=1 limit=20 project_id=
Key headers
Accept: application/json, text/plain, */*
Content-Type
application/json;charset=UTF-8
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.64
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/Yapi远程命令执行漏洞.py:58

GET /check

Query
cmd=ping../../../windows/system32/windowspowershell/v1.0/powershell.exe whoami
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.9 Cookie: CID ={var}
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/sunlogin_rce.py:85 ad-calcium/vuln_script/sunlogin_rce.py:122

GET /mock/{var}/test999

Key headers
Accept: application/json, text/plain, */*
Content-Type
application/json;charset=UTF-8
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.64
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/Yapi远程命令执行漏洞.py:25 ad-calcium/vuln_script/Yapi远程命令执行漏洞.py:39

POST /actuator/gateway/refresh

Key headers
Accept: */*
Body markers
Upgrade-Insecure-Requests=1 User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Encoding=gzip, deflate Accept-Language=zh-CN,zh;q=0.9 Connection=close Content-Type=application/x-www-form-urlencoded Content-Length=0 in application/x-www-form-urlencoded
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/CVE-2022-22947.py:56

POST /actuator/gateway/routes/{var}

Key headers
Accept: */*
Content-Type
application/json
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/CVE-2022-22947.py:51

POST /api/interface/add

Key headers
Accept: application/json, text/plain, */*
Body markers
"catid":"166" "method":"GET" "path":"/test999" "project_id" "title":"test999" in application/json
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.64
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/Yapi远程命令执行漏洞.py:50

POST /api/plugin/advmock/save

Key headers
Accept: application/json, text/plain, */*
Body markers
"project_id" "interface_id" in application/json;charset=UTF-8
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.64
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/Yapi远程命令执行漏洞.py:64

POST /api/project/add

Key headers
Accept: application/json, text/plain, */*
Body markers
"color":"cyan" "group_id" "icon":"code-o" "name":"test999" "project_type":"private" in application/json
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.64
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/Yapi远程命令执行漏洞.py:45

POST /mock/{var}/test999

Key headers
Accept: application/json, text/plain, */*
Body markers
"project_id" "interface_id" in application/json;charset=utf-8
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.64
Seen in
1 repo: ad-calcium/vuln_script
Evidence
ad-calcium/vuln_script/Yapi远程命令执行漏洞.py:76 ad-calcium/vuln_script/Yapi远程命令执行漏洞.py:88

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /index_sso.php
(?i)^/index_sso\.php(?:[?#].*)?$
GET /zabbix/index_sso.php
(?i)^/zabbix/index_sso\.php(?:[?#].*)?$
GET //http://{var}
(?i)^//http://[^/?#]*(?:[?#].*)?$
GET //{var}:{var}/cgi-bin/rpc
(?i)^//[^/?#]*:[^/?#]*/cgi-bin/rpc\?(?:.*&)?action=verify-haras:
GET //{var}index_sso.php
(?i)^//[^/?#]*index_sso\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /index_sso.php
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-23131 Zabbix Frontend exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index_sso.php"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.9"; nocase; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept: application/json"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Cookie: zbx_session=eyJzYW1sX2RhdGEiOnsidXNlcm5hbWVfYXR0cmlidXRlIjoiQWRtaW4ifSwic2Vzc2lvbmlkIjoiIiwic2lnbiI6IiJ9"; nocase; http.header_names; content:"Cookie"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"zbx_session:"; reference:url,poc.griffinguard.io/cve/CVE-2022-23131; classtype:web-application-attack; sid:9455956; rev:1;)
GET /zabbix/index_sso.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-23131 Zabbix Frontend exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/zabbix/index_sso.php"; http.header; content:"Cookie: zbx_session=eyJzYW1sX2RhdGEiOnsidXNlcm5hbWVfYXR0cmlidXRlIjoiQWRtaW4ifSwic2Vzc2lvbmlkIjoiIiwic2lnbiI6IiJ9"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-23131; classtype:web-application-attack; sid:9614615; rev:1;)
GET //http://{var}
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-23131 Zabbix Frontend exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"//http://"; reference:url,poc.griffinguard.io/cve/CVE-2022-23131; classtype:web-application-attack; sid:9733446; rev:1;)
GET //{var}:{var}/cgi-bin/rpc
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-23131 Zabbix Frontend exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cgi-bin/rpc"; http.uri; content:"action=verify-haras:"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.9"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-23131; classtype:web-application-attack; sid:9060033; rev:1;)
GET //{var}index_sso.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-23131 Zabbix Frontend exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"index_sso.php"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,zh-TW|3b|q=0.7,zh-HK|3b|q=0.5,en-US|3b|q=0.3,en|3b|q=0.2"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Cookie: zbx_session=eyJzYW1sX2RhdGEiOnsidXNlcm5hbWVfYXR0cmlidXRlIjoiQWRtaW4ifSwic2Vzc2lvbmlkIjoiIiwic2lnbiI6IiJ9"; nocase; http.header; content:"Referer: https://fofa.info/"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-23131; classtype:web-application-attack; sid:9334190; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /index_sso.php
title: Zabbix Frontend exploit attempt (CVE-2022-23131)
id: gg-pocmon-cve-2022-23131-9455956
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-23131. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-23131
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/index_sso.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.23131
GET /zabbix/index_sso.php
title: Zabbix Frontend exploit attempt (CVE-2022-23131)
id: gg-pocmon-cve-2022-23131-9614615
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-23131. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-23131
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/zabbix/index_sso.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.23131
GET //http://{var}
title: Zabbix Frontend exploit attempt (CVE-2022-23131)
id: gg-pocmon-cve-2022-23131-9733446
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-23131. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-23131
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '//http://'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.23131
GET //{var}:{var}/cgi-bin/rpc
title: Zabbix Frontend exploit attempt (CVE-2022-23131)
id: gg-pocmon-cve-2022-23131-9060033
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-23131. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-23131
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/cgi-bin/rpc'
    cs-uri-query|contains|all:
      - 'action=verify-haras:'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.23131
GET //{var}index_sso.php
title: Zabbix Frontend exploit attempt (CVE-2022-23131)
id: gg-pocmon-cve-2022-23131-9334190
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-23131. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-23131
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - 'index_sso.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.23131