CVE-2023-1248
Medium · 6.1CVSS
6.1
EPSS
0.4%
Published
Mar 20, 2023
CISA due date
—
Cloudanix analysis
A flaw in the helpdesk software lets attackers slip harmful code into support tickets that can run when staff view them, potentially exposing customer information or hijacking accounts.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper input validation in Ticket Actions modules permits injection and execution of arbitrary client-side scripts in the context of other users' sessions.
Why it matters to the business
Attackers can steal session tokens, perform actions on behalf of agents or customers, or deface ticket interfaces, leading to unauthorized access to sensitive support data and potential account takeover in customer service workflows.
How an attack unfolds
An attacker crafts a malicious payload, submits it through ticket action fields that lack sanitization, and waits for a privileged user to view the affected ticket; the script then executes in the victim's browser.
How to fix it
Upgrade OTRS to 7.0.42 or later and ((OTRS)) Community Edition to a version beyond 6.0.34; apply vendor patches that enforce proper output encoding in all Ticket Actions modules.
How to confirm the fix worked
Review release notes for the fixed versions, retest ticket action forms with known XSS test vectors to confirm scripts are no longer executed, and scan for residual unsanitized reflection points.
Typical attack path
- Identify a ticket action input field that reflects user-supplied data without escaping.
- Inject a script payload (e.g., via a crafted ticket update or comment).
- Lure or wait for an authenticated user or agent to open the ticket.
- Script executes to exfiltrate cookies, perform CSRF actions, or display fake content.
How to detect it
Search web server and application logs for ticket action requests containing script tags, event handlers, or encoded JavaScript; inspect browser developer tools or proxy histories for unexpected script execution on ticket view pages.
What your security team should do
- Prioritize upgrade of all OTRS instances to the stated fixed releases within the next maintenance window.
- Implement web application firewall rules that block common XSS patterns targeting ticket modules until patches are applied.
- Conduct a code review of any custom Ticket Actions extensions for similar input handling issues.
The record
Improper Input Validation vulnerability in OTRS AG OTRS (Ticket Actions modules), OTRS AG ((OTRS)) Community Edition (Ticket Actions modules) allows Cross-Site Scripting (XSS).This issue affects OTRS: from 7.0.X before 7.0.42; ((OTRS)) Community Edition: from 6.0.1 through 6.0.34.
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: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-2024-23792 When adding attachments to ticket comments, another user can add attachments as well… 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