A cross-site scripting vulnerability affects IBM Tivoli Federated Identity Manager and IBM Tivoli Federated Identity Manager Business Gateway, caused by improper validation of user-supplied input.
CVEID: CVE-2015-1966
DESCRIPTION: IBM Tivoli Federated Identity Manager and IBM Security Access Manager for Mobile are vulnerable to cross-site scripting, caused by improper validation of user-supplied input. A remote attacker could exploit this vulnerability using a specially-crafted URL to execute script in a victimโs Web browser within the security context of the hosting Web site, once the URL is clicked. An attacker could use this vulnerability to steal the victimโs cookie-based authentication credentials.
CVSS Base Score: 4.3
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/103560 for the current score
CVSS Environmental Score*: Undefined
CVSS Vector: (AV:N/AC:M/Au:N/C:N/I:P/A:N)
IBM Tivoli Federated Identity Manager and IBM Tivoli Federated Identity Manager Business Gateway 6.2.0, 6.2.1, 6.2.2
IBM has provided patches for all affected versions. Follow the installation instructions in the README files included with the patch.
Product | VRMF | APAR | Remediation/First Fix |
---|---|---|---|
IBM Tivoli Federated Identity Manager - 6.2.2-TIV-TFIM-FP0015 | 6.2.2 |
| IV74198| 6.2.2-TIV-TFIM-FP0015
IBM Tivoli Federated Identity Manager - 6.2.1-TIV-TFIM-FP0008| 6.2.1
| IV74199| 6.2.1-TIV-TFIM-FP0009
IBM Tivoli Federated Identity Manager - 6.2.0-TIV-TFIM-FP0017| 6.2.0
| IV74200| 6.2.0-TIV-TFIM-FP0017
To remediate this, add the following macros to the list of comma-separated tokens in the runtime custom property SPS.PageFactory.HtmlEscapedTokens. Add these macros so that their values are HTML-escaped in the template files.
ยท @ERROR_DESCRIPTION@
ยท @TOKEN:RelayState@
The value of the runtime custom property SPS.PageFactory.HtmlEscapedTokens with the above macros added can be:
@REQ_ADDR@,@DETAIL@,@EXCEPTION_STACK@,@EXCEPTION_MSG@,@RESPONSE@,@TARGET@,@DETAIL@,@SAMLSTATUS@,@ERROR_DESCRIPTION@,@TOKEN:RelayState
NOTE: Other macros that are prone to cross site scripting vulnerability can also be added to SPS.PageFactory.HtmlEscapedTokens. The value of this runtime custom property will be revised periodically and update as needed. For more information regarding the runtime custom property, access http://www.ibm.com/support/knowledgecenter/SSZSXU_6.2.2.7/com.ibm.tivoli.fim.doc_6227/config/reference/CustomPropsSPS.html.