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
Tools/GitHubGitHub/skimask1690/cve-2025-6218-poc
Payload GenerationVulnerability AnalysisExploitationPenetration TestingLearning & Education
GitHubskimask1690/cve-2025-6218-poc

CVE-2025-6218-POC

Proof of Concept for CVE-2025-6218, demonstrating the exploitation of a vulnerability in WinRAR versions 7.11 and under, involving improper handling of archive extraction paths.

Share
View Repository
294221 year agoReviewed by Kitploit

CVE-2025-6218 Proof of Concept (POC)

Overview

This repository contains a simple Proof of Concept (POC) for CVE-2025-6218, demonstrating the exploitation of a vulnerability involving WinRAR’s handling of archive extraction paths. The POC batch script creates a ZIP archive that places a batch file into the Windows Startup folder, which runs calc.exe upon user login.


How it Works

  • The batch script (CVE-2025-6218.bat) generates a simple batch file (POC.bat) that runs the Windows Calculator (calc.exe).
  • It then uses WinRAR to create a ZIP archive (CVE-2025-6218.zip) that is crafted to extract the batch file into the Windows Startup folder.
  • The vulnerability is triggered when the ZIP archive is right-clicked, then opened with WinRAR, and extracted using the "Extract to {folder}" option.
  • Upon extraction, the batch file is placed in the Startup folder and will execute automatically on the next user login, demonstrating arbitrary code execution.

Vulnerable Versions

  • ✅ Vulnerable: WinRAR 7.11 and earlier
  • ❌ Not vulnerable: WinRAR 7.12 and later
    Users are strongly advised to update to the latest version to mitigate this vulnerability.

Script Requirements

  • WinRAR (any version) must be installed in the default location: C:\Program Files\WinRAR\WinRAR.exe

Usage

  1. Run the provided batch script (CVE-2025-6218.bat).
  2. This creates CVE-2025-6218.zip with the crafted batch file inside.
  3. To exploit the vulnerability:
    • Right-click the CVE-2025-6218.zip file.
    • Select WinRAR.
    • Use the "Extract to {folder}" option inside WinRAR to extract the files.
  4. The batch file will be extracted to the Windows Startup folder (%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup), assuming that navigating two directories up from the current working directory leads to the user's home directory (%USERPROFILE%).
  5. On the next user login, calc.exe will launch automatically.

Disclaimer

This POC is for educational and testing purposes only. Use it responsibly and only on systems you own or have explicit permission to test. The author is not responsible for any misuse or damage caused by this code.


License

MIT License

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.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    547
  • 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.

    369
  • 4

    redforge

    cybersecurity91/redforge

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

    366
  • 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.

    309
  • 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.

    282

Explore all tools

Browse our collection of tools

View all tools →