
Zabbix Frontend Authentication Bypass Vulnerability
Zabbix Frontend Authentication Bypass Vulnerability
This script is an exploit for CVE-2022-23131, a vulnerability in the Zabbix SSO (Single Sign-On) mechanism. The vulnerability allows an attacker to bypass authentication via a specially crafted zbx_session cookie, giving unauthorized access to the Zabbix dashboard.
Zabbix versions 5.4.0 through 5.4.8 and 6.0.0alpha2 through 6.0.0rc1 are vulnerable.
This script checks if a target is vulnerable to CVE-2022-23131 and retrieves the zbx_session cookie for further use.
To successfully run this script you will need a valid username of Zabbix user.
git clone https://github.com/davidzzo23/cve-2022-23131.git
cd cve-2022-23131-exploit
python3 CVE-2022-23131.py <target_url> <username>
python3 exploit.py https://192.168.210.13 admin
This script is intended for educational purposes only. Unauthorized use of this exploit on systems without permission is illegal. The author is not responsible for any misuse or damages caused by this exploit.