CVE-2023-29455
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 inside 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 in the Zabbix frontend allows untrusted input to be echoed back in HTTP responses without proper escaping, causing arbitrary JavaScript to execute in the victim's browser context with the application's origin.
Why it matters to the business
Attackers can hijack user sessions, steal monitoring data or credentials, and perform unauthorized actions inside Zabbix, leading to loss of visibility into infrastructure, data exposure, and potential follow-on compromise of monitored systems; the vulnerability has remained unexploited in the wild for over three years with negligible exploit probability.
How an attack unfolds
An attacker crafts a URL containing a malicious script in a reflected parameter, tricks a Zabbix user into visiting the link via phishing or another site, and the browser executes the script which can exfiltrate cookies, keylog inputs, or pivot to other Zabbix actions.
How to fix it
Upgrade the Zabbix frontend to the latest maintained release that properly sanitizes and escapes reflected parameters; implement Content-Security-Policy headers and input validation on all web endpoints until patches are applied.
How to confirm the fix worked
Review web access logs and application code for unescaped reflection of query or POST parameters; test suspected endpoints with benign payloads such as a unique string and confirm it is HTML-encoded in the response.
Typical attack path
- Identify a Zabbix frontend endpoint that reflects user-supplied input
- Craft a malicious link embedding executable script in the reflected parameter
- Deliver the link to an authenticated Zabbix user via email or compromised site
- Victim clicks the link causing the script to execute in their browser session
- Script performs actions such as stealing session tokens or performing unauthorized configuration changes
How to detect it
Inspect web server and application logs for requests to Zabbix paths that contain HTML tags or JavaScript event handlers in query parameters; correlate with user reports of unexpected redirects or pop-ups while using the frontend.
- query strings containing <script
- requests to /zabbix/ paths with event handlers such as onerror= or onload=
- HTTP referrers showing external domains immediately before Zabbix access with encoded script payloads
What your security team should do
- Prioritize patching the Zabbix frontend as soon as a fixed release is available
- Enable web application firewall rules that block common reflected XSS patterns in query strings
- Monitor Zabbix access logs for anomalous requests containing script tags or event handlers
- Educate Zabbix users to avoid clicking untrusted links that target the monitoring interface
The record
Reflected XSS attacks, also known as non-persistent attacks, occur when a malicious script is reflected off a web application to the victim's browser. The script is activated through a link, which sends a 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 | 1:6.0.29+dfsg-1 |
| 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-29457 Reflected XSS attacks, occur when a malicious script is reflected off a web application… 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