Frame Injection on Sun Java System Identity Manager 6.0/7.x "helpUrl" parameter

Vulnerability found:
11 June 2007

Vendor informed:
18 June 2007

Severity level:
Medium

Credits:
Jan Fry and Adrian Pastor of ProCheckUp Ltd (www.procheckup.com) ProCheckUp thanks Sun for working with us.

Description:
Sun Java System Identity Manager is vulnerable to frame injection within the "helpUrl" parameter processed by the "/idm/help/index.jsp" server-side script.

Consequences

Attackers may inject frames that embed third-party sites, which can help launching phishing attacks by injecting a frame that points to a "spoof" login page.
Additionally, this frame injection issue can result in non-persistent defacement of the target site.

Server environment

Sun Java System Identity Manager 6.0 (20061212 SP 2)

Apache-Coyote/1.1

Apache Tomcat/5.0.28

Client environment

Microsoft Internet Explorer 7.0.5730.11
Sun has confirmed the following products to be affected by this issue:
Sun Java System Identity Manager 6.0, Sun Java System Identity Manager 7.0, Sun Java System Identity Manager 7.1

BID

27214
Proof of concept:
The provided PoC URLs embed a third-party site (www.procheckup.com in this case):
https://target.tld/idm/help/index.jsp?helpUrl=//www.procheckup.com

https://target.tld/idm/help/index.jsp?helpUrl=http://www.procheckup.com

How to fix:
http://sunsolve.sun.com/search/document.do?assetkey=1-26-103180-1

References:
http://www.procheckup.com/Vulnerabilities

Legal:
Copyright 2008 ProCheckUp Ltd.
All rights reserved. Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if the Bulletin is not changed or edited in any way, is attributed to ProCheckUp indicating this web page URL, and provided such reproduction and/or distribution is performed for non-commercial purposes.
Any other use of this information is prohibited.
ProCheckUp is not liable for any misuse of this information by any third party. ProCheckUp is not responsible for the content of external Internet sites.