fix matcher and metadata

patch-1
Dhiyaneshwaran 2023-06-12 16:14:49 +05:30 committed by GitHub
parent 1a5a1cecd1
commit 65a186f48d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 24 deletions

View File

@ -1,46 +1,33 @@
id: CVE-2008-7269
info:
name: UC Gateway Investment SiteEngine v5.0 - Open Redirect
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.
author: ctflearner
severity: medium
tags:
- UC Gateway Investment SiteEngine
- SiteEngine v5.0
- Open redirect
- web
- cve2008
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.
reference:
- https://www.exploit-db.com/exploits/32523
- https://nvd.nist.gov/vuln/detail/CVE-2008-7269
- https://www.exploit-db.com/exploits/6823
classification:
cvss-metrics: CVSS:2.0/(AV:N/AC:M/Au:N/C:N/I:P/A:P)
cvss-metrics: 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
cpe: cpe:2.3:a:boka:siteengine:5.0:*:*:*:*:*:*:*
metadata:
max-request: 1
shodan-query: html:"SiteEngine"
verified: "true"
tags: cve,cve2008,redirect,siteengine
http:
- method: GET
path:
- "{{BaseURL}}/api.php?action=logout&forward=http://www.evil.com"
stop-at-first-match: true
matchers-condition: and
- "{{BaseURL}}/api.php?action=logout&forward=http://interact.sh"
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)evil\.com\/?(\/|[^.].*)?$'
- type: status
status:
- 301
- 302
- 307
- 308
condition: or
- '(?m)^(?:Location\s*?:\s*?)(?:http?://|//)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'