☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-8613

CVE-2024-8613 Supply Chain Attack in Gaizhenbiao
📅 PUBLISHED: 2025-03-20 10:11 UTC 🔄 UPDATED: 2026-09-23 20:16 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.59%
👁️
0.59% probability
14.7× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
8.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-8613 is a critical authorization bypass vulnerability in gaizhenbiao/chuanhuchatgpt version 20240802. The flaw allows unauthenticated attackers to access, copy, and delete other users' chat histories due to improper session handling and missing access controls. With a CVSS score of 8.1, this vulnerability poses a high risk to confidentiality and integrity of user data. No public proof-of-concept or patch is currently available.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a Python-based application (chuanhuchatgpt) distributed via GitHub. Users should verify the integrity of their deployment and monitor for any unauthorized access to chat history files. The lack of a patch increases supply chain risk, as attackers may target unpatched instances.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – Impact confined to the vulnerable component.
  • Confidentiality (C): High (H) – Full access to chat histories.
  • Integrity (I): Low (L) – Ability to delete or copy data.
  • Availability (A): None (N) – No impact on availability.

Threat Level: High – Exploitation is straightforward and can lead to mass data leakage.

Deep Dive & Mechanics

The vulnerability stems from improper session validation and lack of authorization checks when accessing chat history endpoints. The application likely uses sequential or predictable identifiers for chat sessions, allowing an attacker to enumerate and access other users' data by manipulating request parameters (e.g., user_id, session_id). The absence of server-side verification enables unauthorized read, copy, and delete operations.

Root Cause: The application does not verify that the requesting user owns the chat history being accessed. This is a classic Insecure Direct Object Reference (IDOR) vulnerability (CWE-639).

Vulnerable vs. Patched Code

No patched version is available. The vulnerable code likely resembles:

# Vulnerable: No ownership check
@app.route('/chat/history/<user_id>')
def get_chat_history(user_id):
    history = load_history(user_id)  # Directly loads without authentication
    return jsonify(history)

A patched version would require:

# Patched: Verify ownership
@app.route('/chat/history/<user_id>')
def get_chat_history(user_id):
    current_user = get_current_user()
    if current_user.id != user_id:
        abort(403)
    history = load_history(user_id)
    return jsonify(history)

Exploitation & Lab Setup

Red Team

  1. Setup: Deploy chuanhuchatgpt version 20240802 in a Docker container.
  2. Enumerate: Use Burp Suite or curl to identify chat history endpoints (e.g., /api/history?user_id=1).
  3. Exploit: Send requests with different user_id values to access other users' data.
# Example: Access user 2's chat history
curl -X GET http://target:5000/api/history?user_id=2
  1. Copy/Delete: Use similar requests to copy or delete histories.

Blue Team

  1. Monitor: Watch for unusual patterns in API requests, especially sequential user_id values.
  2. Harden: Implement authentication and authorization middleware immediately.
  3. Audit: Review logs for unauthorized access attempts.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /api/history or similar endpoints with varying user_id parameters.
  • Logs: Multiple 403/200 responses for different user IDs from the same IP.
  • File System: Unauthorized access to chat history files (e.g., chat_*.json).

Detection Engineering

YARA Rule

rule CVE_2024_8613_Access {
    meta:
        description = "Detects attempts to exploit CVE-2024-8613 in chuanhuchatgpt"
        author = "Valters IT"
        date = "2024-01-01"
    strings:
        $s1 = "/api/history" nocase
        $s2 = "user_id=" nocase
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-8613 Exploitation Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects attempts to exploit authorization bypass in chuanhuchatgpt
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains: "/api/history"
    condition: selection
falsepositives:
    - Legitimate admin activity
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-8613 - chuanhuchatgpt Authorization Bypass"; flow:to_server; content:"/api/history"; http_uri; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

  • Immediate: Disable public access to the application until a patch is applied.
  • Short-term: Implement authentication and authorization checks for all chat history endpoints.
  • Long-term: Apply the principle of least privilege and use session-based access controls.
  • Monitor: Continuously audit logs for unauthorized access attempts.

Valters IT Signature: This report is prepared by Valters IT, an elite DevSecOps and Cyber Threat Intelligence team. For further analysis or remediation support, contact us at [valters@example.com].

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-8613/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.