Authored by Malcrove

BeyondTrust Remote Support versions 6.0 and below suffer from a cross site scripting vulnerability.

advisories | CVE-2021-31589

# Exploit Title: BeyondTrust Remote Support - Reflected Cross-Site Scripting (XSS)  (Unauthenticated)
# Google Dork: intext:"BeyondTrust" "Redistribution Prohibited"
# Date: 30/12/2021
# Exploit Author: Malcrove
# Vendor Homepage:
# Version: v6.0 and earlier versions
# CVE: CVE-2021-31589


Unauthenticated cross-site scripting (XSS) vulnerability in BeyondTrust Secure Remote Access Base Software through 6.0.1 allow remote attackers to inject arbitrary web script or HTML. Remote attackers could acheive full admin access to the appliance, by tricking the administrator into creating a new admin account through an XSS/CSRF attack involving a crafted request to the /appliance/users?action=edit endpoint.

Vulnerability Details:

Affected Endpoint: /appliance/login
Affected Parameter: login[password]
Request Method: GET or POST

Proof of concept (POC):

By navigating to the below link from a modern web browser, alert(document.domain) Javascript method would be fired in the same context of Beyondtrust Remote Support domain.



A fix has been released by the vendor in NSBase 6.1. It's recommended to update the vulnerable appliance base version to the latest version.

- Time-Line:

April 6, 2021: Vulnerability advisory sent to the vendor (Beyondtrust)
April 8, 2021: Recevied an initial reply from the vendor
Jun 10, 2021: The vendor released a fix for the vulnerability in NSbase 6.1
Dec 30, 2021: The Responsible public disclosure

- Credits
Ahmed Aboul-Ela (Malcrove)