CVE-2023-29456
Medium · 5.4CVSS
5.4
EPSS
0.6%
Published
Jul 13, 2023
CISA due date
—
Cloudanix analysis
A flaw in how the system checks web addresses lets attackers slip in harmful code that can run when other people use the site.
- Exploitation
- Requires User Interaction
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The URL validation and parsing logic accepts unsanitized user input and fails to enforce proper escaping or component restrictions during component extraction, permitting injection of executable script content that executes in the context of other users.
Why it matters to the business
Attackers can run code inside authenticated users' browsers, enabling session theft, unauthorized configuration changes, or data exfiltration from the monitoring interface, increasing risk of account takeover and operational disruption.
How an attack unfolds
An attacker identifies a URL input field processed by the frontend parser, supplies a crafted value containing script elements that survive component validation, and tricks a victim into interacting with the resulting page so the injected code executes under the victim's privileges.
How to fix it
Apply the latest Zabbix frontend release that corrects URL component validation and escaping; until available, enforce strict input sanitization on all URL fields and consider web application firewall rules that block script tags and event handlers in URL parameters.
How to confirm the fix worked
Test the URL parsing functions with known cross-site scripting vectors containing script, onerror, and javascript: schemes; confirm that component extraction rejects or neutralizes these sequences and that rendered output encodes the input.
Typical attack path
- Locate URL-accepting endpoints in the web frontend
- Craft a payload that embeds executable content while appearing valid to the parser
- Submit the payload via user-controlled input
- Induce a victim to load or interact with the resulting page
- Execute script to access cookies, perform actions, or exfiltrate data
How to detect it
Inspect web server and application logs for URL parameters containing script tags, javascript: protocols, or event handlers; correlate with user sessions that trigger unexpected redirects or form submissions.
What your security team should do
- Prioritize patching the Zabbix frontend once fixed versions are released
- Review all custom URL-handling code for similar validation gaps
- Enable Content-Security-Policy headers to limit script execution sources
- Monitor web logs for anomalous URL submissions containing script or javascript: patterns
The record
URL validation scheme receives input from a user and then parses it to identify its various components. The validation scheme can ensure that all URL components comply with internet standards.
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-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
- CVE-2022-24349 An authenticated user can create a link with reflected XSS payload for actions’ pages… Also affects zabbix