XSS in OTRS/OTRS ITSM via Email Body CSS/UTF-7 Injection
CVE-2012-2582 describes multiple cross-site scripting (XSS) vulnerabilities in OTRS Help Desk (versions 2.4.x before 2.4.13, 3.0.x before 3.0.15, and 3.1.x before 3.1.9) and OTRS ITSM (versions 2.1.x before 2.1.5, 3.0.x before 3.0.6, and 3.1.x before 3.1.6). The vulnerabilities allow remote attackers to inject arbitrary web script or HTML into the application by sending specially crafted email messages. The attack vectors include (1) using a CSS expression property in the STYLE attribute of an arbitrary element, and (2) using UTF-7 encoded text in an HTTP-EQUIV="CONTENT-TYPE" META element within the email body. The application fails to properly sanitize these inputs before rendering them in the web interface.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary JavaScript in the context of the user's browser session when viewing a maliciously crafted email in the OTRS web interface. This can lead to session hijacking, credential theft, or further attacks against the OTRS instance or its users.
If you can’t patch tonight, do this now.
As an interim measure, restrict access to the OTRS web interface to trusted networks and users. Educate users to avoid opening suspicious emails. Consider filtering or sanitizing incoming email content at the mail gateway to strip or neutralize potentially malicious HTML/CSS/encoding constructs until the application can be patched.
Patch, then assume compromise.
Upgrade OTRS Help Desk to version 2.4.13, 3.0.15, or 3.1.9 (or later), and OTRS ITSM to version 2.1.5, 3.0.6, or 3.1.6 (or later), which contain fixes for these XSS vulnerabilities.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.