id: CVE-2008-7269

info:
  name: UC Gateway Investment SiteEngine v5.0 - Open Redirect
  author: ctflearner
  severity: medium
  description: |
    Open redirect vulnerability in api.php in SiteEngine 5.x allows user-assisted remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the forward parameter in a logout action.
  impact: |
    Attackers can redirect users to malicious sites for phishing or malware distribution.
  remediation: |
    Apply the latest patches or updates provided by the vendor to fix the open redirect vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2008-7269
    - https://www.exploit-db.com/exploits/6823
    - https://github.com/tr3ss/newclei
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:P
    cvss-score: 5.8
    cve-id: CVE-2008-7269
    cwe-id: CWE-20
    epss-score: 0.09254
    epss-percentile: 0.94713
    cpe: cpe:2.3:a:boka:siteengine:5.0:*:*:*:*:*:*:*
  metadata:
    verified: "true"
    max-request: 1
    vendor: boka
    product: siteengine
    shodan-query:
      - html:"SiteEngine"
      - http.html:"siteengine"
    fofa-query: body="siteengine"
  tags: cve,cve2008,redirect,siteengine,boka,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api.php?action=logout&forward=http://interact.sh"

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