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 tags: cve,cve2012,redirect,WebsitePanel,WebsitePanel-v1.2.2.1 http: - method: GET path: - "{{BaseURL}}/hosting/Default.aspx?pid=Login&ReturnUrl=http%3A%2F%2Fwww.evil.com" matchers: - type: regex part: header regex: - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)evil\.com\/?(\/|[^.].*)?$'