CVE-2024-42327CWE-89

SQL injection in user.get API

Critical · published November 27, 2024

Patch now

High probability of exploitation

CVSS calls it critical at 9.9. It sits in the 99.6th percentile for exploit probability.

CVSS v3.1
9.9
EPSS
79%
Percentile
99.6
In the wild
Unconfirmed
What it is

🔥 A single API call is the key to exploiting this SQL injection! In the Zabbix frontend, a non-admin user with any role granting API access can take advantage of a vulnerability hiding in plain sight. ⚡ Think of it like a delivery service that allows anyone with the right package label to request special deliveries — the system doesn't check who’s asking, and that can lead to chaos! An attacker could gain unauthorized access to sensitive data or manipulate the database, resulting in data leaks or even total control over the Zabbix instance. This could lead to catastrophic security breaches and loss of trust — absolutely devastating!

Put simply

Think of it like a delivery service that allows anyone with the right package label to request special deliveries — the system doesn't check who’s asking, and that can lead to chaos! This SQL injection vulnerability exists in the CUser class, specifically in the addRelatedObjects function. This function is invoked by the CUser.get method, which is accessible to any user with API access, allowing attackers to run arbitrary SQL queries.

What to do

An attacker could gain unauthorized access to sensitive data or manipulate the database, resulting in data leaks or even total control over the Zabbix instance. This could lead to catastrophic security breaches and loss of trust — absolutely devastating! Patch Zabbix to version 6.2.4 or later immediately. Review API access permissions and restrict them to only necessary roles. Additionally, implement input validation and prepared statements to prevent SQL injection. 🛡️ You’ve got this! By taking these steps, you'll bolster your defenses and keep your Zabbix environment secure! 🚀

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.79105 · 99.6th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-11-27T12:04Z
EPSS history
Timeline
  • 27 NOV 12:04Z
    SQL injection in user.get API
    cvelistv5