id: CVE-2004-1965

info:
  name: Open Bulletin Board (OpenBB) v1.0.6 - Open Redirect/XSS
  author: ctflearner
  severity: medium
  description: |
    Multiple cross-site scripting (XSS) vulnerabilities in Open Bulletin Board (OpenBB) 1.0.6 and earlier allows remote attackers to inject arbitrary web script or HTML via the (1) redirect parameter to member.php, (2) to parameter to myhome.php (3) TID parameter to post.php, or (4) redirect parameter to index.php.
  impact: |
    Successful exploitation of these vulnerabilities could lead to unauthorized access, phishing attacks, and potential data theft.
  remediation: |
    Upgrade to a patched version of Open Bulletin Board (OpenBB) or apply necessary security patches to mitigate the vulnerabilities.
  reference:
    - https://www.exploit-db.com/exploits/24055
    - https://nvd.nist.gov/vuln/detail/CVE-2004-1965
    - http://marc.info/?l=bugtraq&m=108301983206107&w=2
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/15966
    - https://github.com/POORVAJA-195/Nuclei-Analysis-main
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2004-1965
    cwe-id: NVD-CWE-Other
    epss-score: 0.08442
    epss-percentile: 0.94303
    cpe: cpe:2.3:a:openbb:openbb:1.0.0_beta1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: openbb
    product: openbb
  tags: cve,cve2004,redirect,xss,openbb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?redirect=http%3A%2F%2Fwww.interact.sh"

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'
# digest: 4b0a00483046022100926e1846be7584ac6bce24627ddecb8fb56b03be1333219343e31198ba3959a9022100a7d4e802e9ce25638eaf14178b57bda985fd994ec61a8c7554d3d8a0a3f9c538:922c64590222798bb761d5b6d8e72950