CVE-2023-38059
Medium · 5.3CVSS
5.3
EPSS
0.5%
Published
Oct 16, 2023
CISA due date
—
Cloudanix analysis
A flaw in the helpdesk software can let outsiders learn the real network address of people viewing tickets or articles by sneaking in a special kind of picture link.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability allows bypassing of configured external image loading restrictions via protocol-relative URLs (e.g., //attacker.example/img), causing the client browser to fetch the resource and leak the user's IP address to the attacker.
Why it matters to the business
Attackers can discover real IP addresses of users or agents interacting with the ticketing system, supporting reconnaissance or targeted follow-on activity with limited but privacy-related exposure across customer support workflows.
How an attack unfolds
An attacker crafts content such as a ticket or article containing a protocol-relative image URL pointing to a server under their control. When a user or agent views the item, the browser resolves and requests the image directly from the attacker's host, logging the client's IP address in the attacker's access logs.
How to fix it
Upgrade OTRS to 7.0.47 or later and 8.0.37 or later; for Community Edition move past 6.0.34. Review and harden image loading configuration to reject or rewrite protocol-relative and external URLs until patches are applied.
How to confirm the fix worked
After upgrade, test by creating content with a protocol-relative image URL and confirm the request is blocked or rewritten; review release notes for input validation changes and scan configuration files for external image allow-lists.
Typical attack path
- Identify a user-accessible content field that renders images
- Insert a payload using a protocol-relative external image URL
- Deliver the content to the target via ticket, notification, or knowledge base
- Monitor attacker-controlled server logs for incoming image requests revealing victim IPs
How to detect it
Inspect web server or application logs for image requests containing protocol-relative patterns or unexpected external domains; correlate user session activity with outbound connections to unknown hosts when viewing tickets or articles.
What your security team should do
- Apply vendor patches to reach 7.0.47 / 8.0.37 or newer immediately
- Temporarily disable external image loading if the feature is non-essential
- Audit recent tickets and articles for suspicious image URLs
- Update incident response playbooks to treat unexpected IP disclosure as a potential reconnaissance indicator
The record
The loading of external images is not blocked, even if configured, if the attacker uses protocol-relative URL in the payload. This can be used to retreive the IP of the user.This issue affects OTRS: from 7.0.X before 7.0.47, from 8.0.X before 8.0.37; ((OTRS)) Community Edition: from 6.0.X 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: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-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-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