Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-24576-PoC---Nim — Proof-of-concept demonstrating command injection (BatBadBut) vulnerability in Nim on Windows, with payload testing across execProcess and execShellCmd functions. | Kitploit
Tools/GitHubGitHub/foxoman/cve-2024-24576-poc---nim
Vulnerability AnalysisExploitationWeb Application ExploitationPapers & ResearchLearning & EducationBinary Exploitation
GitHubfoxoman/cve-2024-24576-poc---nim

CVE-2024-24576-PoC---Nim

Proof-of-concept demonstrating command injection (BatBadBut) vulnerability in Nim on Windows, with payload testing across execProcess and execShellCmd functions.

View Repository
112 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Exploring Command Injection Vulnerabilities in Windows with Nim

  • https://foxoman.hashnode.dev/exploring-command-injection-vulnerabilities-in-windows-with-nim?showSharer=true

Here's a summarized table based on the testing results from the Nim code experiments with different payloads:

PayloadexecProcess_NoQuoteShellexecProcess_QuoteShellexecShellCmd
nim &calcNot PassedNot PassedPassed
nim" &calcPassedNot PassedNot Passed
%CMDCMDLINE:~-1%&calcPassedPassedPassed

"Passed" indicates the payload executed in a way that could potentially exploit the BatBadBut vulnerability, demonstrating the nuanced behavior of command execution methods in Nim in response to different types of inputs.


  • CVE-2024-24576 PoC on GitHub: https://github.com/frostb1ten/CVE-2024-24576-PoC
  • Flatt Security Research article: https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/
Download Tool