CVE-2024-23793
Medium · 6.3CVSS
6.3
EPSS
0.8%
Published
Jun 6, 2024
CISA due date
—
Cloudanix analysis
A flaw lets logged-in users upload dangerous files that the web server can run, which could let attackers take control of the helpdesk 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
Path traversal in the file upload feature allows authenticated users to write arbitrary files, including executable scripts, to directories served by the web server.
Why it matters to the business
Successful exploitation can lead to remote code execution on the OTRS server, enabling attackers to compromise the helpdesk system, access sensitive ticket data, or disrupt operations; low EPSS and no known exploitation in the wild reduce immediate urgency but patching remains important given the broad affected version range.
How an attack unfolds
An authenticated agent or customer user crafts a file upload request containing path traversal sequences in the filename to place a malicious Perl script in a web-accessible directory, then triggers execution by requesting the script via the web server.
How to fix it
Upgrade OTRS to a version newer than 7.0.49, 2024.3.2 or the latest 2023/2024 maintenance release; upgrade ((OTRS)) Community Edition to a version newer than 6.0.34; restrict file upload permissions and sanitize filenames until patches are applied.
How to confirm the fix worked
Verify installed version against the fixed releases, review web server document root for unexpected uploaded files, and test upload functionality with traversal payloads in a non-production environment.
Typical attack path
- Obtain authenticated session as an agent or customer user
- Submit a crafted file upload containing directory traversal sequences such as ../ in the filename
- Upload a malicious script (e.g., Perl) to a web-server-accessible location
- Access the uploaded file via HTTP to execute arbitrary code on the server
How to detect it
Inspect web server logs and application upload logs for requests containing directory traversal sequences in filenames or unexpected file extensions; search file systems for recently created scripts in web directories.
- ../
- ..\
- .pl
- upload.*filename.*\.\./
What your security team should do
- Apply the latest OTRS maintenance updates immediately to all affected instances
- Audit and restrict file upload permissions for agents and customers
- Enable strict filename validation and content-type checks on uploads
- Monitor web server access and error logs for path traversal patterns
The record
The file upload feature in OTRS and ((OTRS)) Community Edition has a path traversal vulnerability. This issue permits authenticated agents or customer users to upload potentially harmful files to directories accessible by the web server, potentially leading to the execution of local code like Perl scripts. This issue affects OTRS: from 7.0.X through 7.0.49, 8.0.X, 2023.X, from 2024.X through 2024.3.2; ((OTRS)) Community Edition: from 6.0.1 through 6.0.34.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:24.04:LTS | znuny | 0 | No fix |
| Ubuntu:24.10 | znuny | 0 | No fix |
| Ubuntu:25.04 | znuny | 0 | No fix |
| Ubuntu:25.10 | znuny | 0 | No fix |
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-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-32492 An issue was discovered in Znuny 7.0.1 through 7.0.16 where the ticket detail view in the… 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-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