November 09, 2018 — Please read carefully and check if the version of your OTRS system is affected by this vulnerability.
Please send information regarding vulnerabilities in OTRS to: security@otrs.org
Security Advisory Details
- ID: OSA-2018-09
- Date: 2018-11-09
- Title: Privilege Escalation
- Severity: 7.2 High
- Product: OTRS 5.0.x, OTRS 4.0.x
- Fixed in: OTRS 5.0.31, OTRS 4.0.33
- FULL CVSS v3 VECTOR: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L/E:H/RL:O/RC:C
- References: CVE-2018-19141
Vulnerability Description
This advisory covers vulnerabilities discovered in the OTRS framework.
Privilege Escalation
An attacker who is logged into OTRS as an admin user may manipulate the URL to cause execution of JavaScript in the context of OTRS.
Affected by this vulnerability are all releases of OTRS 5.0.x up to and including 5.0.30, and OTRS 4.0.x up to and including 4.0.32.
This vulnerability is fixed in the latest versions of OTRS, and it is recommended to upgrade to the latest patch level.
Please note that to remove possibly affected records, the following clean-up SQL statements need to be executed:
DELETE FROM user_preferences WHERE preferences_key = 'UserID' OR preferences_key = 'UserLogin' OR preferences_key = 'UserPw' OR preferences_key = 'UserFirstname' OR preferences_key = 'UserLastname' OR preferences_key = 'UserFullname' OR preferences_key = 'UserTitle' OR preferences_key = 'ChangeTime' OR preferences_key = 'CreateTime' OR preferences_key = 'ValidID' OR preferences_key LIKE 'UserIsGroup%'; DELETE FROM customer_preferences WHERE preferences_key = 'UserID' OR preferences_key = 'UserLogin' OR preferences_key = 'UserPassword' OR preferences_key = 'UserFirstname' OR preferences_key = 'UserLastname' OR preferences_key = 'UserFullname' OR preferences_key = 'UserStreet' OR preferences_key = 'UserCity' OR preferences_key = 'UserZip' OR preferences_key = 'UserCountry' OR preferences_key = 'UserComment' OR preferences_key = 'UserCustomerID' OR preferences_key = 'UserTitle' OR preferences_key = 'UserEmail' OR preferences_key = 'UserPhone' OR preferences_key = 'UserMobile' OR preferences_key = 'UserFax' OR preferences_key = 'UserMailString' OR preferences_key = 'ChangeTime' OR preferences_key = 'ChangeBy' OR preferences_key = 'CreateTime' OR preferences_key = 'CreateBy' OR preferences_key = 'ValidID' OR preferences_key LIKE 'UserIsGroup%';
Fixed releases can be found at:
Detailed information about the changes:
OTRS 5
OTRS 4
However, to avoid unwanted side effects, we recommend a complete update.
Thanks to Francesco Sirocco for discovering and reporting this issue.