There is a cross-site scripting vulnerability in Liberty for Java for IBM Bluemix when using the OpenID Connect (OIDC) client.
CVEID: CVE-2016-0283**
DESCRIPTION:** IBM WebSphere Application Server is vulnerable to cross-site scripting in the OIDC client web application 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: 6.1
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/111229 for the current score
CVSS Environmental Score*: Undefined
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
This vulnerability affects all versions of Liberty for Java in IBM Bluemix up to and including v2.6.
To upgrade to Liberty for Java v2.7-20160321-1358 or higher, you must re-stage or re-push your application. To check which version of the Liberty for Java runtime your Bluemix application is using, navigate to the “Files” menu item for your application through the Bluemix UI. In the “logs” directory, check the “staging_task.log”.
You can also find this file through the command-line Cloud Foundry client by running the following command:
cf files <appname> logs/staging_task.log
You can see
-----> Liberty Buildpack Version: _________
To re-stage your application using the command-line Cloud Foundry client, use the following command:
cf restage <appname>
To re-push your application using the command-line Cloud Foundry client, use the following command:
cf push <appname>
CPE | Name | Operator | Version |
---|---|---|---|
liberty for java for ibm cloud | eq | any |