Vulnerable Systems:
Juniper SA appliances running Juniper IVE OS 6.0
Immune Systems:
Juniper SA appliances running Juniper IVE 6.3R7
Juniper SA appliances running Juniper IVE 6.4R5
Juniper SA appliances running Juniper IVE 6.5R2
Upon modification or creation of a bookmark, the editbk.cgi script is requested with a parameter named "row". This parameter identifies the bookmark in question and its value is used in the server response. It is a flaw in the input handling of this "row" parameter that makes the appliance vulnerable to a cross site scripting attack.
Successful exploitation could allow a remote attacker to hijack an authenticated session between a victim and the Juniper SA web interface.
Usage of the Single Sign-On (SSO) feature will severely increase the impact as SSO automatically grants the hijacked session access to other systems (e.g. typically used in combination with Outlook Web Access).
Patch Availability:
Juniper released IVE updates 6.3R7, 6.4R5 and 6.5R2 which fix this issue. The updates and installation instructions are available for Juniper customers on the Juniper website (note: login required):
Workaround:
The bookmark functionality can be temporary disabled until the Juniper update has been applied. A Juniper administrator can disable the bookmark functionality via the Central Manager by unchecking the "User can add bookmarks" option in the "Web" tab of the active user roles.