CVE-2022-24349
Medium · 4.4CVSS
4.4
EPSS
1.2%
Published
Mar 9, 2022
CISA due date
—
Cloudanix analysis
Someone who already has login access can trick coworkers into running harmful code inside their browser by sending a specially made link.
- Exploitation
- Requires User Interaction
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated users can inject reflected XSS payloads into links for actions' pages, enabling arbitrary JavaScript execution in victims' browsers with full access to page DOM objects and the ability to modify displayed content.
Why it matters to the business
Attackers may manipulate monitoring dashboards or steal session data from other users, leading to unauthorized visibility into infrastructure or potential account takeover without direct system access.
How an attack unfolds
An attacker with valid frontend credentials crafts a link embedding an XSS payload targeting actions pages, then uses social engineering over a trusted channel to deliver it to another authenticated user whose browser executes the code upon interaction.
How to fix it
Apply patches addressing input sanitization for actions pages links in Zabbix Frontend; enforce strict input validation and consider disabling unnecessary link sharing features until updated.
How to confirm the fix worked
Test actions pages link generation with known XSS vectors such as script tags or event handlers to confirm sanitization; review web application firewall rules and audit logs for blocked payloads post-update.
Typical attack path
- Obtain authenticated access to Zabbix Frontend
- Construct malicious link containing reflected XSS payload for actions pages
- Deliver link to target user via trusted communication channel
- Victim clicks link and payload executes in browser context
- Malicious code accesses page objects and performs modifications or data exfiltration
How to detect it
Examine web server access logs for actions pages requests containing unusual parameters or HTML tags; correlate with user activity for unexpected modifications to dashboard content or session anomalies.
- actions.php? with script or onerror in query string
- javascript:alert or <img src=x onerror in frontend URLs
- unexpected DOM modifications logged in browser console during actions page loads
What your security team should do
- Prioritize patching Zabbix Frontend across all instances due to age since publication
- Implement user awareness training focused on verifying links from trusted colleagues
- Enable enhanced logging for actions pages requests to detect anomalous parameters
- Review and restrict network exposure of the frontend where possible
The record
An authenticated user can create a link with reflected XSS payload for actions’ pages, and send it to other users. Malicious code has access to all the same objects as the rest of the web page and can make arbitrary modifications to the contents of the page being displayed to a victim. This attack can be implemented with the help of social engineering and expiration of a number of factors - an attacker should have authorized access to the Zabbix Frontend and allowed network connection between a malicious server and victim’s computer, understand attacked infrastructure, be recognized by the victim as a trustee and use trusted communication channel.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | zabbix | 0 | 1:4.0.4+dfsg-1+deb10u1 |
| Debian:11 | zabbix | 0 | 1:5.0.44+dfsg-1+deb11u1 |
| Debian:12 | zabbix | 0 | 1:6.0.7+dfsg-2 |
| Debian:13 | zabbix | 0 | 1:6.0.7+dfsg-2 |
| Debian:9 | zabbix | 0 | 1:3.0.32+dfsg-0+deb9u3 |
| SUSE:Linux Enterprise Server 12 SP5 | zabbix | 0 | 4.0.12-4.15.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | zabbix | 0 | 4.0.12-4.15.2 |
| 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-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