ID CVE-2017-16664
Summary Code injection exists in Kernel/System/Spelling.pm in Open Ticket Request System (OTRS) 5 before 5.0.24, 4 before 4.0.26, and 3.3 before 3.3.20. In the agent interface, an authenticated remote attacker can execute shell commands as the webserver user via URL manipulation.
References
Vulnerable Configurations
  • Open Ticket Request System (OTRS) 4.0.0 Beta1
    cpe:2.3:a:otrs:otrs:4.0.0:beta1
  • Open Ticket Request System (OTRS) 4.0.0 Beta2
    cpe:2.3:a:otrs:otrs:4.0.0:beta2
  • Open Ticket Request System (OTRS) 4.0.0 Beta3
    cpe:2.3:a:otrs:otrs:4.0.0:beta3
  • Open Ticket Request System (OTRS) 4.0.0 Beta4
    cpe:2.3:a:otrs:otrs:4.0.0:beta4
  • Open Ticket Request System (OTRS) 4.0.0 Beta5
    cpe:2.3:a:otrs:otrs:4.0.0:beta5
  • Open Ticket Request System (OTRS) 4.0.0 Release Candidate 1
    cpe:2.3:a:otrs:otrs:4.0.0:rc1
  • Open Ticket Request System (OTRS) 4.0.1
    cpe:2.3:a:otrs:otrs:4.0.1
  • Open Ticket Request System (OTRS) 4.0.2
    cpe:2.3:a:otrs:otrs:4.0.2
  • Open Ticket Request System (OTRS) 4.0.3
    cpe:2.3:a:otrs:otrs:4.0.3
  • Open Ticket Request System (OTRS) 4.0.4
    cpe:2.3:a:otrs:otrs:4.0.4
  • Open Ticket Request System (OTRS) 4.0.5
    cpe:2.3:a:otrs:otrs:4.0.5
  • Open Ticket Request System (OTRS) 4.0.6
    cpe:2.3:a:otrs:otrs:4.0.6
  • Open Ticket Request System (OTRS) 4.0.7
    cpe:2.3:a:otrs:otrs:4.0.7
  • Open Ticket Request System (OTRS) 4.0.8
    cpe:2.3:a:otrs:otrs:4.0.8
  • Open Ticket Request System (OTRS) 4.0.9
    cpe:2.3:a:otrs:otrs:4.0.9
  • Open Ticket Request System (OTRS) 4.0.10
    cpe:2.3:a:otrs:otrs:4.0.10
  • Open Ticket Request System (OTRS) 4.0.11
    cpe:2.3:a:otrs:otrs:4.0.11
  • Open Ticket Request System (OTRS) 4.0.12
    cpe:2.3:a:otrs:otrs:4.0.12
  • Open Ticket Request System (OTRS) 4.0.13
    cpe:2.3:a:otrs:otrs:4.0.13
  • Open Ticket Request System (OTRS) 4.0.14
    cpe:2.3:a:otrs:otrs:4.0.14
  • Open Ticket Request System (OTRS) 4.0.15
    cpe:2.3:a:otrs:otrs:4.0.15
  • Open Ticket Request System (OTRS) 4.0.16
    cpe:2.3:a:otrs:otrs:4.0.16
  • Open Ticket Request System (OTRS) 4.0.17
    cpe:2.3:a:otrs:otrs:4.0.17
  • Open Ticket Request System (OTRS) 4.0.18
    cpe:2.3:a:otrs:otrs:4.0.18
  • Open Ticket Request System (OTRS) 4.0.19
    cpe:2.3:a:otrs:otrs:4.0.19
  • Open Ticket Request System (OTRS) 4.0.20
    cpe:2.3:a:otrs:otrs:4.0.20
  • Open Ticket Request System (OTRS) 4.0.21
    cpe:2.3:a:otrs:otrs:4.0.21
  • Open Ticket Request System (OTRS) 4.0.22
    cpe:2.3:a:otrs:otrs:4.0.22
  • Open Ticket Request System (OTRS) 4.0.23
    cpe:2.3:a:otrs:otrs:4.0.23
  • Open Ticket Request System (OTRS) 4.0.24
    cpe:2.3:a:otrs:otrs:4.0.24
  • Open Ticket Request System (OTRS) 4.0.25
    cpe:2.3:a:otrs:otrs:4.0.25
  • Open Ticket Request System (OTRS) 5.0.0
    cpe:2.3:a:otrs:otrs:5.0.0
  • Open Ticket Request System (OTRS) 5.0.0 Alpha1
    cpe:2.3:a:otrs:otrs:5.0.0:alpha1
  • Open Ticket Request System (OTRS) 5.0.0 Beta1
    cpe:2.3:a:otrs:otrs:5.0.0:beta1
  • Open Ticket Request System (OTRS) 5.0.0 Beta2
    cpe:2.3:a:otrs:otrs:5.0.0:beta2
  • Open Ticket Request System (OTRS) 5.0.0 Beta3
    cpe:2.3:a:otrs:otrs:5.0.0:beta3
  • Open Ticket Request System (OTRS) 5.0.0 Beta4
    cpe:2.3:a:otrs:otrs:5.0.0:beta4
  • Open Ticket Request System (OTRS) 5.0.0 Beta5
    cpe:2.3:a:otrs:otrs:5.0.0:beta5
  • Open Ticket Request System (OTRS) 5.0.0 Release Candidate 1
    cpe:2.3:a:otrs:otrs:5.0.0:rc1
  • Open Ticket Request System (OTRS) 5.0.1
    cpe:2.3:a:otrs:otrs:5.0.1
  • Open Ticket Request System (OTRS) 5.0.2
    cpe:2.3:a:otrs:otrs:5.0.2
  • Open Ticket Request System (OTRS) 5.0.3
    cpe:2.3:a:otrs:otrs:5.0.3
  • Open Ticket Request System (OTRS) 5.0.4
    cpe:2.3:a:otrs:otrs:5.0.4
  • Open Ticket Request System (OTRS) 5.0.5
    cpe:2.3:a:otrs:otrs:5.0.5
  • Open Ticket Request System (OTRS) 5.0.6
    cpe:2.3:a:otrs:otrs:5.0.6
  • Open Ticket Request System (OTRS) 5.0.7
    cpe:2.3:a:otrs:otrs:5.0.7
  • Open Ticket Request System (OTRS) 5.0.8
    cpe:2.3:a:otrs:otrs:5.0.8
  • Open Ticket Request System (OTRS) 5.0.9
    cpe:2.3:a:otrs:otrs:5.0.9
  • Open Ticket Request System (OTRS) 5.0.10
    cpe:2.3:a:otrs:otrs:5.0.10
  • Open Ticket Request System (OTRS) 5.0.11
    cpe:2.3:a:otrs:otrs:5.0.11
  • Open Ticket Request System (OTRS) 5.0.12
    cpe:2.3:a:otrs:otrs:5.0.12
  • Open Ticket Request System (OTRS) 5.0.13
    cpe:2.3:a:otrs:otrs:5.0.13
  • Open Ticket Request System (OTRS) 5.0.14
    cpe:2.3:a:otrs:otrs:5.0.14
  • Open Ticket Request System (OTRS) 5.0.15
    cpe:2.3:a:otrs:otrs:5.0.15
  • Open Ticket Request System (OTRS) 5.0.16
    cpe:2.3:a:otrs:otrs:5.0.16
  • Open Ticket Request System (OTRS) 5.0.17
    cpe:2.3:a:otrs:otrs:5.0.17
  • Open Ticket Request System (OTRS) 5.0.18
    cpe:2.3:a:otrs:otrs:5.0.18
  • Open Ticket Request System (OTRS) 5.0.19
    cpe:2.3:a:otrs:otrs:5.0.19
  • Open Ticket Request System (OTRS) 5.0.20
    cpe:2.3:a:otrs:otrs:5.0.20
  • Open Ticket Request System (OTRS) 5.0.21
    cpe:2.3:a:otrs:otrs:5.0.21
  • Open Ticket Request System (OTRS) 5.0.22
    cpe:2.3:a:otrs:otrs:5.0.22
  • Open Ticket Request System (OTRS) 5.0.23
    cpe:2.3:a:otrs:otrs:5.0.23
  • Debian Linux 7.0
    cpe:2.3:o:debian:debian_linux:7.0
  • Debian Linux 8.0 (Jessie)
    cpe:2.3:o:debian:debian_linux:8.0
  • Debian Linux 9.0
    cpe:2.3:o:debian:debian_linux:9.0
CVSS
Base: 6.5
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2017-1291.NASL
    description This update for otrs fixes the following security issues : - CVE-2017-15864: Remote authenticated attackers could have caused otrs to disclose configuration information, including database credentials (boo#1068677, OSA-2017-06) - CVE-2017-16664: Remote authenticated attackers could have caused the execution of shell commands with the permission of the web server user (boo#1069391, OSA-2017-07)
    last seen 2019-02-21
    modified 2018-01-26
    plugin id 104763
    published 2017-11-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=104763
    title openSUSE Security Update : otrs (openSUSE-2017-1291)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_CEBD05D6ED7B11E795F2005056925DB4.NASL
    description OTRS reports : An attacker who is logged into OTRS as an agent can request special URLs from OTRS which can lead to the execution of shell commands with the permissions of the web server user. An attacker who is logged into OTRS as a customer can use the ticket search form to disclose internal article information of their customer tickets. An attacker who is logged into OTRS as an agent can manipulate form parameters and execute arbitrary shell commands with the permissions of the OTRS or web server user. An attacker can send a specially prepared email to an OTRS system. If this system has cookie support disabled, and a logged in agent clicks a link in this email, the session information could be leaked to external systems, allowing the attacker to take over the agent's session.
    last seen 2019-02-21
    modified 2018-12-19
    plugin id 105503
    published 2018-01-02
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=105503
    title FreeBSD : OTRS -- Multiple vulnerabilities (cebd05d6-ed7b-11e7-95f2-005056925db4)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-1212.NASL
    description Four vulnerabilities were discovered in the Open Ticket Request System which could result in information disclosure or the execution of arbitrary shell commands by logged-in agents. For Debian 7 'Wheezy', these problems have been fixed in version 3.3.18-1~deb7u2. We recommend that you upgrade your otrs2 packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-07-06
    plugin id 105378
    published 2017-12-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=105378
    title Debian DLA-1212-1 : otrs2 security update
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-4047.NASL
    description Two vulnerabilities were discovered in the Open Ticket Request System which could result in disclosure of database credentials or the execution of arbitrary shell commands by logged-in agents.
    last seen 2019-02-21
    modified 2018-11-13
    plugin id 104753
    published 2017-11-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=104753
    title Debian DSA-4047-1 : otrs2 - security update
  • NASL family CGI abuses
    NASL id OTRS_OSA_2017_07.NASL
    description The version of OTRS running on the remote host is 3.3.x prior to 3.3.20, 4.0.x prior to 4.0.26, or 5.0.x prior to 5.0.24. It is, therefore, affected by a remote code execution vulnerability.
    last seen 2019-02-21
    modified 2018-07-24
    plugin id 105156
    published 2017-12-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=105156
    title OTRS Authenticated Remote Code Execution (OSA-2017-07)
refmap via4
confirm https://www.otrs.com/security-advisory-2017-07-security-update-otrs-framework/
debian DSA-4047
mlist [debian-lts-announce] 20171219 [SECURITY] [DLA 1212-1] otrs2 security update
Last major update 21-11-2017 - 09:29
Published 21-11-2017 - 09:29
Last modified 08-05-2019 - 14:57
Back to Top