exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

OpenAM 9 / 10 Cross Site Scripting

OpenAM 9 / 10 Cross Site Scripting
Posted Feb 24, 2016
Authored by Stephan Sekula

OpenAM versions 9 through 9.5.5 and 10.0.0 through 10.0.2 suffer from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 733a8d04f8cafa6811d950b5abe8bdd81bee1de0eb014f68a90053b49909b05d

OpenAM 9 / 10 Cross Site Scripting

Change Mirror Download
#############################################################
#
# COMPASS SECURITY ADVISORY http://www.csnc.ch/en/downloads/advisories.html
#############################################################
#
# CSNC ID: CSNC-2016-001
# Product: OpenAM [1]
# Vendor: ForgeRock
# Subject: Cross-Site Scripting - XSS
# Risk: High
# Effect: Remotely exploitable
# Author: Stephan Sekula (stephan.sekula@csnc.de)
# Date: February 23rd 2016
#
#############################################################


Introduction:
-------------
OpenAM provides core identity services to simplify the implementation of
transparent single sign-on (SSO) as a security component in a network
infrastructure. OpenAM provides the foundation for integrating diverse
web applications that might typically operate against a disparate set of
identity repositories and are hosted on a variety of platforms such as
web and application servers. [1]

Compass Security discovered a web application security flaw in the OpenAM
application which allows an attacker to manipulate the resulting website.
This allows, for instance, stealing of user sessions, attacking the user's
browser or redirecting the user to a Phishing website. Since it is the
victim who needs to visit the malicious link, this attack is possible for
unauthenticated attackers who do not have access to the affected websites.


Affected Versions:
------------------
The following OpenAM versions are vulnerable:
- 9-9.5.5
- 10.0.0-10.0.2
- 10.1.0-Xpress
- 11.0.0-11.0.3
- 12.0.0-12.0.2

OpenAM version 13.0.0 is not vulnerable.


Patches:
--------
OpenAM released patches for each affected version as part of OpenAM
Security Advisory #201601 [2].


Technical Description:
----------------------
OpenAM provides a blacklist mechanism that allows specifying dangerous
input. If user input is part of this blacklist, the user should be
redirected to an error page. However, this mechanism is not implemented
in page exportmetadata.jsp. Exploiting the vulnerability will lead to
so-called Cross-Site Scripting (XSS), allowing the execution of
JavaScript in the context of the victim and thus the impersonation of
logged-in OpenAM users:
https://<URL>/.../exportmetadata.jsp?entityid=sp&realm="<script>alert(0)</script>

Response:
ERROR : Unable to read configuration of component "SAML2" for realm
""<script>alert(0)</script>".

Furthermore, a blacklist approach bears the risk of missing malicious input.


Milestones:
-----------
2015-12-16: Vulnerability discovered
2016-01-04: Vendor notified
2016-02-05: Vendor provided patched version
2016-02-23: Public disclosure


References:
-----------
[1] http://openam.forgerock.org/
[2] https://forgerock.org/2016/02/openam-security-advisory-201601/
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close