Vulnerability type : Cross Site Scripting (XSS)
Product: Advanced REST Client desktop application
Vulnerable Version: 17.0.9
Vendor of the product(s): https://www.advancedrestclient.com/
Cross-Site Scripting (XSS) vulnerability in Advanced REST Client v.17.0.9 allows a remote attacker to execute arbitrary code and obtain sensitive information.
This can be achieved by exploiting a crafted script within the 'edit details' parameter of the New Project function.
This vulnerability arises when an attacker maliciously stores a 'XSS' script in the project description (Markdown format), shares the project with the victim, and then executes the shared project on the victim's PC using the ARC App.
Step 1) Click on the '+ADD A PROJECT' button on the third tab after running the Advanced REST Client.
<!--Used 'XSS script' for information leakage-->
<img src=# onerror="alert(document.location)">
<!--Another 'XSS script' for phishing-->
<img src=# onerror="alert(document.location)">
Step 7) Attacker names the project and clicks the 'EXPORT' button to export the project where the 'XSS script' is stored.
Step 9) Victim selects 'import all versions of ARC data' from the top tab to open the projectreceived from the attacker.
Step 10) When clicking a 'SELECT FILE' button for victim to open malicious project file containing 'XSS script'.
Step 11) After the file selection is completed, click the 'IMPORT DATA' button to importsuccessfully.
Step 12) Imported file runs and attacker's 'Stored XSS script' runs on victim's 'Advanced RESTClient (ARC) App'.
-
If the victim executes a project that includes malicious payloads shared by the attacker, it is dangerous because the victim cannot immediately notice the payload.
-
For example, this vulnerability can be used to steal sensitive information or perform malicious behavior by reading a user's browser URL.
-
You can also perform phishing attacks by redirecting users to other sites. Be careful if an XSS vulnerability is exploited in a phishing attack, which can lead to external exposure of sensitive information.