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-2017-5941-poc-docker-lab — Proof-of-concept lab for CVE-2017-5941 node-serialize untrusted deserialization RCE. Includes POST and cookie-based exploit vectors with Docker environment for authorized testing. | Kitploit
Tools/GitHubGitHub/kylew1004/cve-2017-5941-poc-docker-lab
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubkylew1004/cve-2017-5941-poc-docker-lab

cve-2017-5941-poc-docker-lab

Proof-of-concept lab for CVE-2017-5941 node-serialize untrusted deserialization RCE. Includes POST and cookie-based exploit vectors with Docker environment for authorized testing.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
31 year agoNot yet reviewed
Share

CVE-2017-5941 — node-serialize Untrusted Deserialization (RCE) PoC

⚠️ For lab / self-assessment only. Use only on systems you own or are authorized to test.

This repository provides:

  • A minimal PoC script to reproduce CVE-2017-5941 against a vulnerable Node.js app that uses node-serialize <= 0.0.4.
  • Two vectors:
    • POST /api/deserialize (default)
    • Cookie profile for /profile (Base64-encoded; server must decode before unserialize())

What is CVE-2017-5941?

  • Component: node-serialize (≤ 0.0.4)
  • Weakness: Untrusted deserialization (CWE-502)
  • Behavior: During unserialize(), any string value that begins with "_$$ND_FUNC$$_" is treated as executable JavaScript (evaluated).
  • Impact: If untrusted input reaches unserialize(), it leads to Remote Code Execution.
  • Example of a malicious value:

    root@kitploit:~
    { "p": "_$$ND_FUNC$$_function(){ require('child_process').exec('id') }()" }
    
    Download Tool