CVE-2023-29457
Medium · 6.1CVSS
6.1
EPSS
0.6%
Published
Jul 13, 2023
CISA due date
—
Cloudanix analysis
A problem in the Zabbix web interface lets attackers trick users into running harmful code in their browsers simply by clicking a specially crafted link.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- XSS
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
Reflected XSS flaw in Zabbix frontend allows arbitrary JavaScript execution in a victim's browser when malicious payloads are supplied through Action form fields and reflected back in responses.
Why it matters to the business
Attackers can hijack Zabbix user sessions, steal monitoring data or credentials, and perform unauthorized actions within the web console; the issue affects a widely deployed monitoring platform with no listed fixed versions after more than three years.
How an attack unfolds
An attacker identifies an unauthenticated or low-privilege Action form endpoint, embeds a malicious script payload in a crafted request parameter, and sends the resulting link to a Zabbix user; when the victim loads the page the script executes in their browser context, enabling theft of cookies or session tokens.
How to fix it
Apply the latest Zabbix frontend updates as soon as they become available; until then enforce strict input validation and output encoding on all Action form fields, deploy a web application firewall with XSS rule sets, and restrict direct exposure of the frontend to untrusted networks.
How to confirm the fix worked
Re-test affected Action form endpoints with known XSS probe strings and confirm that payloads are no longer reflected or executed; review release notes and changelogs for any future Zabbix patches addressing reflected script handling.
Typical attack path
- Discover vulnerable Action form endpoints in Zabbix frontend
- Craft URL or POST request containing script payload in form fields
- Deliver link or page reference to authenticated Zabbix user
- Victim browser renders reflected content and executes attacker script
- Script exfiltrates session data or performs actions on behalf of the user
How to detect it
Inspect web server and Zabbix access logs for requests to Action-related endpoints that contain HTML tags, event handlers, or encoded script content; correlate with user sessions that exhibit unexpected redirects or cookie exfiltration.
- GET or POST parameters to /zabbix/ endpoints containing <script
- Action form fields with javascript: or onerror= payloads
- Referer or User-Agent strings paired with reflected script execution in audit logs
What your security team should do
- Monitor Zabbix vendor announcements and apply frontend patches immediately upon release
- Implement WAF rules to block common reflected XSS patterns targeting Action forms
- Audit logs for suspicious requests containing script tags or event handlers
- Educate Zabbix administrators on recognizing and avoiding malicious links
The record
Reflected XSS attacks, occur when a malicious script is reflected off a web application to the victim's browser. The script can be activated through Action form fields, which can be sent as request to a website with a vulnerability that enables execution of malicious scripts.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | zabbix | 0 | 1:4.0.4+dfsg-1+deb10u2 |
| Debian:11 | zabbix | 0 | 1:5.0.44+dfsg-1+deb11u1 |
| Debian:12 | zabbix | 0 | No fix |
| Debian:13 | zabbix | 0 | 1:6.0.23+dfsg-1 |
| Ubuntu:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:22.04:LTS | zabbix | 0 | No fix |
| Ubuntu:24.10 | zabbix | 0 | No fix |
| Ubuntu:25.04 | zabbix | 0 | No fix |
| Ubuntu:25.10 | zabbix | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | zabbix | 0 | No fix |
Related vulnerabilities
- CVE-2023-32726 The vulnerability is caused by improper check for check if RDLENGTH does not overflow the… Also affects zabbix
- CVE-2023-29456 URL validation scheme receives input from a user and then parses it to identify its… Also affects zabbix
- CVE-2023-29455 Reflected XSS attacks, also known as non-persistent attacks, occur when a malicious… Also affects zabbix
- CVE-2023-29454 Stored or persistent cross-site scripting (XSS) is a type of XSS where the attacker first… Also affects zabbix
- CVE-2022-43515 Zabbix Frontend provides a feature that allows admins to maintain the installation and… Also affects zabbix
- CVE-2022-24917 An authenticated user can create a link with reflected Javascript code inside it for… Also affects zabbix
- CVE-2022-24919 An authenticated user can create a link with reflected Javascript code inside it for… Also affects zabbix
- CVE-2022-24349 An authenticated user can create a link with reflected XSS payload for actions’ pages… Also affects zabbix