Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2024-5936
HistoryAug 15, 2024 - 10:17 a.m.

PrivateGPT < 0.5.0 - Open Redirect

2024-08-1510:17:17
ProjectDiscovery
github.com
6
cve-2024 private-gpt open-redirect vulnerability

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

AI Score

6.9

Confidence

High

An open redirect vulnerability exists in imartinez/privategpt version 0.5.0 due to improper handling of the 'file' parameter. This vulnerability allows attackers to redirect users to a URL specified by user-controlled input without proper validation or sanitization.
id: CVE-2024-5936

info:
  name: PrivateGPT < 0.5.0 - Open Redirect
  author: ctflearner
  severity: medium
  description: |
    An open redirect vulnerability exists in imartinez/privategpt version 0.5.0 due to improper handling of the 'file' parameter. This vulnerability allows attackers to redirect users to a URL specified by user-controlled input without proper validation or sanitization.
  reference:
    - https://huntr.com/bounties/43f05c1e-d7b8-45e2-b1fe-48faf1e3a48d
    - https://drive.google.com/file/d/1Fw5eT-9bAqsqzNUqdTXebtqIo5NI6T48/view
    - https://nvd.nist.gov/vuln/detail/CVE-2024-5936
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
    cvss-score: 4.3
    cve-id: CVE-2024-5936
    cwe-id: CWE-601
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"private gpt"
    product: private-gpt
  tags: cve2024,cve,private-gpt,redirect

http:
  - method: GET
    path:
      - "{{BaseURL}}/file=https://oast.me"

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)oast\.me.*$'
# digest: 490a0046304402200ed0a5350d90d228b1f596107929eec075848b5f16b1d0301f5e57754406897f022063d4e7a75f3bc1eb13fab3d54fd2b124e1bd91ff5401db2258b6c75988aa08ac:922c64590222798bb761d5b6d8e72950

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

AI Score

6.9

Confidence

High

Related for NUCLEI:CVE-2024-5936