CVE-2024-32493
High · 8.8CVSS
8.8
EPSS
0.7%
Published
Apr 29, 2024
CISA due date
—
Cloudanix analysis
A logged-in support agent could trick the system into running unauthorized database commands, potentially exposing or changing private customer information.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- SQL Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated SQL injection in the draft form ID parameter of an AJAX request allows a logged-in agent to execute arbitrary SQL statements against the backend database, resulting in full read, write, and delete capabilities on stored data.
Why it matters to the business
Attackers with agent credentials could extract or alter sensitive customer and ticket information, disrupt operations, or pivot to further system compromise, leading to data breaches and compliance violations.
How an attack unfolds
An attacker authenticates as an agent, identifies the draft form AJAX endpoint, and supplies a malicious payload in the draft form ID parameter that alters the intended SQL query structure to execute attacker-controlled statements.
How to fix it
Upgrade Znuny LTS to version 6.5.8 or later and Znuny to version 7.0.17 or later. Apply vendor patches that sanitize or parameterize the draft form ID input. Restrict database permissions for the application account as a defense-in-depth measure.
How to confirm the fix worked
Verify the deployed version is outside the vulnerable ranges (LTS 6.5.1-6.5.7 and 7.0.1-7.0.16). Test the draft form AJAX endpoint with known benign and malicious input patterns in a non-production environment to confirm parameterization prevents injection.
Typical attack path
- Obtain valid agent credentials
- Locate the draft form AJAX request endpoint
- Craft and send requests containing SQL injection payloads in the draft form ID parameter
- Observe database responses or side effects to confirm execution and exfiltrate or modify data
How to detect it
Inspect web server and application logs for AJAX requests to the draft form endpoint containing unusual characters, SQL keywords, or syntax anomalies in the form ID parameter. Correlate with database logs showing unexpected query structures or errors from the application user.
What your security team should do
- Prioritize upgrade to fixed versions immediately given the high CVSS score and authenticated remote attack vector
- Review and harden agent account privileges and monitor for unusual database query patterns
- Implement web application firewall rules to block obvious SQL injection patterns in AJAX parameters until patches are applied
The record
An issue was discovered in Znuny LTS 6.5.1 through 6.5.7 and Znuny 7.0.1 through 7.0.16 where a logged-in agent is able to inject SQL in the draft form ID parameter of an AJAX request.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | znuny | 0 | No fix |
| Debian:13 | znuny | 0 | 6.5.8-1 |
| Debian:14 | znuny | 0 | 6.5.8-1 |
| Ubuntu:24.04:LTS | znuny | 0 | No fix |
| Ubuntu:24.10 | znuny | 0 | 6.5.8-1 |
Related vulnerabilities
- CVE-2024-48937 Znuny before LTS 6.5.1 through 6.5.10 and 7.0.1 through 7.0.16 allows XSS. Also affects znuny
- CVE-2024-48938 Znuny before LTS 6.5.1 through 6.5.10 and 7.0.1 through 7.0.16 allows DoS/ReDos via email. Also affects znuny
- CVE-2024-32491 An issue was discovered in Znuny and Znuny LTS 6.0.31 through 6.5.7 and Znuny 7.0.1… Also affects znuny
- CVE-2023-38060 Improper Input Validation vulnerability in the ContentType parameter for attachments on… Also affects znuny
- CVE-2024-43442 Improper Neutralization of Input done by an attacker with admin privileges ('Cross-site… Also affects znuny
- CVE-2024-43444 Passwords of agents and customers are displayed in plain text in the OTRS admin log… Also affects znuny
- CVE-2024-43443 Improper Neutralization of Input done by an attacker with admin privileges ('Cross-site… Also affects znuny
- CVE-2024-23793 The file upload feature in OTRS and ((OTRS)) Community Edition has a path traversal… Also affects znuny