CVE-2024-32491
Critical · 9.8CVSS
9.8
EPSS
0.7%
Published
Apr 29, 2024
CISA due date
—
Cloudanix analysis
A flaw in the helpdesk software lets logged-in users place harmful files anywhere on the server, potentially allowing an attacker to take full control of the system.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated users can manipulate AJAX file upload requests to perform directory traversal, writing attacker-controlled files to arbitrary writable server locations; if the destination is web-accessible this results in remote code execution.
Why it matters to the business
Successful exploitation can lead to complete server takeover, theft of sensitive customer or ticket data, service disruption, and lateral movement into connected systems.
How an attack unfolds
An attacker with valid credentials crafts a manipulated AJAX upload request containing path traversal sequences, uploads a malicious script or web shell to a publicly reachable directory, and then requests the file through the web server to execute arbitrary commands.
How to fix it
Upgrade to the latest patched Znuny or Znuny LTS release. Enforce strict server-side validation that rejects path traversal sequences in upload destinations and restrict the set of directories that the web server process may write to.
How to confirm the fix worked
Confirm the installed version is newer than the vulnerable range, review upload-handling code for traversal sanitization, and attempt controlled path-traversal upload tests in a non-production environment to verify blocking behavior.
Typical attack path
- Obtain valid user credentials and authenticate to the application
- Locate the file-upload AJAX endpoint used for attachments or images
- Inject directory traversal payloads (../ sequences) into the destination path parameter
- Upload a web shell or executable script to a web-accessible writable directory
- Access the uploaded file via HTTP to trigger code execution and establish persistence
How to detect it
Search web-server and application logs for file-upload requests containing path-traversal sequences such as ../ or encoded equivalents; inspect recently created or modified files in web-root or other writable directories for unexpected executable content.
- ../
- ..%2f
- ..%5c
- manipulated AJAX upload to file endpoint
- unexpected executable files in web-accessible directories
What your security team should do
- Apply available security updates immediately
- Harden file-upload logic with allow-list validation of target paths
- Add web-application firewall rules to block traversal patterns in upload requests
- Monitor application and web-server logs for anomalous upload activity
The record
An issue was discovered in Znuny and Znuny LTS 6.0.31 through 6.5.7 and Znuny 7.0.1 through 7.0.16 where a logged-in user can upload a file (via a manipulated AJAX Request) to an arbitrary writable location by traversing paths. Arbitrary code can be executed if this location is publicly available through the web server.
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-32493 An issue was discovered in Znuny LTS 6.5.1 through 6.5.7 and Znuny 7.0.1 through 7.0.16… 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