HexBrain

Browse / CVEs / CVE-2021-24406

CVE-2021-24406· gvectors / wpforo forum· CWE-601

WordPress wpForo Forum < 1.9.7 - Open Redirect

mediumseverity
6.1CVSS score
2.9%likelihood of exploitation, next 30 days
87%of all CVEs are less likely
Readycheck to confirm it

WordPress wpForo Forum < 1.9.7 is susceptible to an open redirect vulnerability because the plugin did not validate the redirect_to parameter in the login form of the forum, leading to an open redirect issue after a successful login.

Impact

An attacker can trick users into visiting a malicious website, leading to potential phishing attacks or the disclosure of sensitive information.

Fix

Update wpForo Forum to version 1.9.7 or later to fix the open redirect vulnerability.

How to confirm it

Send: GET {{BaseURL}}/community/?foro=signin&redirect_to=https://interact.sh/
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$/

Run it with nuclei: nuclei -id CVE-2021-24406 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2021-24406

info:
  name: WordPress wpForo Forum < 1.9.7 - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: WordPress wpForo Forum < 1.9.7 is susceptible to an open redirect vulnerability because the plugin did not validate the redirect_to parameter in the login form of the forum, leading to an open redirect issue after a successful login.
  impact: |
    An attacker can trick users into visiting a malicious website, leading to potential phishing attacks or the disclosure of sensitive information.
  remediation: |
    Update wpForo Forum to version 1.9.7 or later to fix the open redirect vulnerability.
  reference:
    - https://wpscan.com/vulnerability/a9284931-555b-4c96-86a3-09e1040b0388
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24406
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2021-24406
    cwe-id: CWE-601
    epss-score: 0.02915
    epss-percentile: 0.87124
    cpe: cpe:2.3:a:gvectors:wpforo_forum:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: gvectors
    product: wpforo_forum
    framework: wordpress
  tags: cve2021,cve,wpscan,wordpress,redirect,gvectors,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/community/?foro=signin&redirect_to=https://interact.sh/"

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

References

Use this check only on systems you are authorised to test. Where the data comes from