Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24420

XSS in Ambari Add Host Wizard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.7.1
    • None
    • ambari-client
    • None

    Description

      It is possible for an attacker to steal information or access from users by executing malicious JavaScript. This is possible due to the use of a javascript "eval()" function when loading the SSH private key. Leveraging this any malicious data in any file uploaded, not just private keys, would execute. In the case of private keys, malicious script in the metadata of the key would execute. An attacker could directly scrap and information on the page, modify its appearance, or steal the users sessions information.

       

      Repro:

       https://xxxxx.azurehdinsight.net/#/main/host/add/step1

       

       

       

      Attachments

        Activity

          People

            rlevas Robert Levas
            juliaw Julia Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: