CVE-2024-23792
Medium · 6.5CVSS
6.5
EPSS
0.3%
Published
Jan 29, 2024
CISA due date
—
Cloudanix analysis
One logged-in user can secretly add files to another user's ticket comment if they know a special identifier, allowing unauthorized changes to records.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Authentication Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated users can bypass authorization checks on ticket comment attachments by supplying a known UUID, allowing them to append files under another user's identity while the legitimate comment is still being finalized.
Why it matters to the business
Ticket records can be altered without authorization, leading to loss of data integrity, potential compliance violations, and erosion of trust in the ticketing platform used across organizations.
How an attack unfolds
An attacker who is already logged in obtains the UUID of a comment being edited by another user, then issues concurrent attachment upload requests using that UUID before the legitimate user finishes the comment, resulting in files being added under the impersonated identity.
How to fix it
Upgrade OTRS to versions beyond 7.0.48, 8.0.37, and 2023.1.1 respectively. Until patches are applied, restrict attachment functionality or implement additional server-side UUID validation and session binding for comment operations.
How to confirm the fix worked
Review release notes for versions after the listed affected ranges, test attachment workflows with multiple concurrent authenticated sessions, and confirm that UUID reuse across sessions is rejected.
Typical attack path
- Gain authenticated access to the OTRS instance
- Discover or intercept the UUID of an in-progress ticket comment
- While the target user is actively adding attachments, submit parallel attachment requests using the captured UUID
- Verify successful addition of unauthorized files to the completed comment
How to detect it
Examine web server and application logs for multiple attachment upload requests sharing the same comment UUID from different authenticated sessions within a short time window; look for attachment records created after initial comment submission but before finalization.
What your security team should do
- Prioritize upgrade of all OTRS instances to patched releases
- Monitor authentication and attachment API endpoints for anomalous concurrent usage patterns
- Temporarily disable attachment uploads if immediate upgrade is not feasible
The record
When adding attachments to ticket comments, another user can add attachments as well impersonating the orginal user. The attack requires a logged-in other user to know the UUID. While the legitimate user completes the comment, the malicious user can add more files to the comment. This issue affects OTRS: from 7.0.X through 7.0.48, from 8.0.X through 8.0.37, from 2023.X through 2023.1.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | otrs2 | 0 | No fix |
| Ubuntu:18.04:LTS | otrs2 | 0 | No fix |
| Ubuntu:20.04:LTS | otrs2 | 0 | No fix |
| Ubuntu:22.04:LTS | otrs2 | 0 | No fix |
| 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 |
| Ubuntu:Pro:16.04:LTS | otrs2 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | otrs2 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | otrs2 | 0 | No fix |
Related vulnerabilities
- CVE-2024-23790 Improper Input Validation vulnerability in the upload functionality for user avatars… Also affects otrs2
- CVE-2024-23791 Insertion of debug information into log file during building the elastic search index… Also affects otrs2
- CVE-2023-6254 A Vulnerability in OTRS AgentInterface and ExternalInterface allows the reading of plain… Also affects otrs2
- CVE-2023-5422 The functions to fetch e-mail via POP3 or IMAP as well as sending e-mail via SMTP use… Also affects otrs2
- CVE-2023-5421 An attacker who is logged into OTRS as an user with privileges to create and change… Also affects otrs2
- CVE-2023-38059 The loading of external images is not blocked, even if configured, if the attacker uses… Also affects otrs2
- CVE-2023-38060 Improper Input Validation vulnerability in the ContentType parameter for attachments on… Also affects otrs2
- CVE-2023-38058 An improper privilege check in the OTRS ticket move action in the agent interface allows… Also affects otrs2