SetGID and SetUID programs in IBM Workload Scheduler can be exploited to obtain root privileges
Some programs in IBM Workload Scheduler are executed with elevated privileges (SetGID and SetUID programs) and have been compiled to search for libraries in an insecure location, the current directory.
An attacker could place a malicious library in this directory, which would then be loaded when the affected program is run, leading to privilege escalation in instances where the program runs with privileges that the attacker does not have. For example, if the program is SetUID root, the attacker would obtain root privileges upon exploiting this vulnerability.
TWS programs that are affected by this vulnerability are the ones having the following rights: r-s--s--x.
DESCRIPTION: IBM Tivoli Workload Automation for AIX contains directories with improper permissions that could allow a local user to with special access to gain root privileges.
CVSS Base Score: 7.4
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/138208 for the current score
CVSS Environmental Score*: Undefined
CVSS Vector: (CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
Affected Products and Versions
IBM Workload Scheduler Distributed 8.6.0 FP04 and earlier
IBM Workload Scheduler Distributed 9.1.0 FP02 and earlier
IBM Workload Scheduler Distributed 9.2.0 FP02 and earlier
IBM Workload Scheduler Distributed 9.3.0 FP03 and earlier
IBM Workload Scheduler Distributed 9.4.0 FP02 and earlier
APAR IJ02712 has been opened to address the SetGID and SETUID programs vulnerability for IBM Tivoli Workload Scheduler.
The following limited availability fixes for IJ02712 are available for download on FixCentral
to be applied on top of Tivoli Workload Scheduler Distributed 8.6.0 FP04
to be applied on top of Tivoli Workload Scheduler Distributed 9.1.0 FP02
to be applied on top of Tivoli Workload Scheduler Distributed 9.2.0 FP02
to be applied on top of Tivoli Workload Scheduler Distributed 9.3.0 FP03
to be applied on top of Tivoli Workload Scheduler Distributed 9.4.0 FP02
For Unsupported releases IBM recommends upgrading to a fixed, supported release of the product.
Workarounds and Mitigations
Get Notified about Future Security Bulletins
The vulnerability was reported to IBM by Tim Brown at Portcullis Computer Security
31 Dec 2017: Original version published
*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.
According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES ""AS IS"" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
17 June 2018