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.
  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.01544
    epss-percentile: 0.87118
    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

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: 490a0046304402202a3cf53a2146368bd3a3db771a2d1d9abc1fa3aeed1f32d49f1576e8a3416045022027e4e4fc821794913018a95c2b167846a1049aa86d0f88a0f94bd0b4e37e3923:922c64590222798bb761d5b6d8e72950