Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
2.7.1
-
None
-
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