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.03464
    epss-percentile: 0.87701
    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: 4a0a0047304502207ac6fd8f5d93e7f32b13420202d73a69f580c7a745d9fd16c6393cd955cc8bed022100bc9c08a4b4cf786e8aed855b6a300a7d82e35adcb2d763c08a61006a620a95fc:922c64590222798bb761d5b6d8e72950