Merge pull request #7433 from ctflearner/CVE-2012-6499

Create CVE-2012-6499.yaml
patch-1
Dhiyaneshwaran 2023-06-22 13:03:25 +05:30 committed by GitHub
commit 8e899f8856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: CVE-2012-6499
info:
name: WordPress Plugin Age Verification v0.4 - Open Redirect
author: ctflearner
severity: medium
description: |
Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the redirect_to parameter.
reference:
- https://www.exploit-db.com/exploits/18350
- https://wordpress.org/plugins/age-verification
- https://nvd.nist.gov/vuln/detail/CVE-2012-6499
classification:
cvss-metrics: AV:N/AC:M/Au:N/C:P/I:P/A:N
cvss-score: 5.8
cve-id: CVE-2012-6499
cwe-id: CWE-20
cpe: cpe:2.3:a:age_verification_project:age_verification:*:*:*:*:*:*:*:*
tags: cve,cve2012,wordpress,wp,wp-plugin,redirect,age-verification
http:
- raw:
- |
POST /wp-content/plugins/age-verification/age-verification.php HTTP/1.1
Host: {{Hostname}}
redirect_to=http://www.interact.sh&age_day=1&age_month=1&age_year=1970
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'