Vulnerabilities 2007 Banner
Friday 21 November 2008

PR07-12: Cross-domain redirect on Sun Java System Identity Manager 6.0/7.x

Date Found: 11th June 2007

Vendor Contacted: 18th June 2007

Severity: Medium

BID: 27214

Description:

Sun Java System Identity Manager is vulnerable to cross-domain redirects within the "nextPage" parameter processed by the "/idm/user/login.jsp" server-side script.

Consequences:

Attackers can redirect victim users to third-party sites after a successful logon. Such behaviour can help attackers perform phishing attacks.

The following attack scenario has been provided:

1. Victim user is emailed a specially crafted URL

2. Victim user trusts the URL because it contains the legitimate domain name and the browser reports a valid SSL certificate

3. Users logs in successfully

4. User is redirected to a malicious third-party site where he/she is asked to re-enter his/her credentials because an "authentication failure" has ocurred

5. User credentials are then forwarded to a third-party site and captured by the attacker

Proof of concept (PoC):

The provided PoC URLs redirect users to a third-party site (procheckup.com in this case) after a successful logon:

https://target.tld/idm/user/login.jsp?nextPage=http://procheckup.com

https://target.tld/idm/user/login.jsp?nextPage=
http://%70%72%6f%63%68%65%63%6b%75%70%2e%63%6f%6d

Successfully tested on:

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

Author: Jan Fry and Adrian Pastor of ProCheckUp Ltd (www.procheckup.com)

ProCheckUp thanks Sun for working with us.

References:

http://www.procheckup.com/Vulnerabilities

Fix:

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

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.

Case Study SC Magazine
Sample Report
Press Releases
 
  Site Map
Privacy Policy
Terms and Conditions
© ProCheckUp Ltd 2008