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
Holistic-Deconstruction-of-CVE-2019-5736- โ€” This repository provides a high-fidelity technical deconstruction and production-ready exploitation suite for CVE-2019-5736. It demonstrates how a root user inside a container can achieve a Host Root Shell by overwriting the host runc binary using an OverlayFS mount and ld.so.preload manipulation. | Kitploit
Tools/GitHubGitHub/sastraadiwiguna-purpleeliteteaming/holistic-deconstruction-of-cve-2019-5736-
Privilege EscalationVulnerability AnalysisExploitationForensicsPenetration TestingLearning & EducationRed TeamingContainer EscapeLabs & Practice

About

This repository provides a high-fidelity technical deconstruction and production-ready exploitation suite for CVE-2019-5736. It demonstrates how a root user inside a container can achieve a Host Root Shell by overwriting the host runc binary using an OverlayFS mount and ld.so.preload manipulation.

Share
GitHubsastraadiwiguna-purpleeliteteaming/holistic-deconstruction-of-cve-2019-5736-

Holistic-Deconstruction-of-CVE-2019-5736-

View RepositoryWebsite
4310 months agoNot yet reviewed

DOI = doi.org/10.5281/zenodo.18304765

ORCID = orcid.org/0009-0007-7728-256X


README.md

๐Ÿ’€ CVE-2019-5736: runc Container Breakout Deconstruction

Advanced Purple Teaming & Forensic Analysis of Host Root Escape


๐Ÿ›ก๏ธ Overview

This repository contains a high-fidelity deconstruction and Proof-of-Concept (PoC) for CVE-2019-5736, a critical vulnerability in runc (versions 1.0-rc1 through 1.0-rc6). This exploit allows a malicious container with root privileges to overwrite the host runc binary and gain complete host root access .

Vulnerability Type: CWE-59 (Improper Link Resolution Before File Access).

CVSSv3 Score: 8.6 HIGH.

Impact: Escape from isolated container namespaces to the host operating system.


๐Ÿ› ๏ธ Technical Chain of Attack (Chain of Thought)

The exploit follows a deterministic multi-stage execution path:

Namespace Liberation: Uses unshare -rm to create a new mount namespace, bypassing initial container restrictions.

Filesystem Bridging: Leverages OverlayFS to mount the host root directory (/) into a writable container-controlled directory .

Dynamic Linker Hijacking: Overwrites /etc/ld.so.preload on the host to inject a malicious payload (/bin/sh -p) into every new process .

Execution Trigger: Executes a standard host binary (e.g., /usr/bin/ping) to trigger the loader and spawn a Host Root Shell .


๐Ÿš€ Production-Ready Deployment

1. Lab Environment Setup (Vulnerable Docker)

To test this in a controlled environment (Ubuntu 18.04 + Docker 18.09.2):

# [cite_start]Setup vulnerable host [cite: 384-388]
docker run -d --name vuln_host --privileged ubuntu:18.04 sleep infinity
docker exec vuln_host apt update && apt install -y curl git
docker exec vuln_host curl -sSL https://get.docker.com | sh

2. Execute Escape Payload

Run the following within the vulnerable environment to achieve host root :

chmod +x runc_root_escape.sh
./runc_root_escape.sh


๐Ÿ“Š Impact Matrix (Business & Technical)

| Target Environment | Status | Impact Potential

| | --- | --- | --- | | Standalone Docker | โœ… Vulnerable | Host takeover, data destruction ($10M+) | | Kubernetes Cluster | โœ… Pivot Ready | Cluster-admin secret theft ($50M+) | | Public Cloud (AWS/GCP) | โœ… Vulnerable | IAM role theft, Cloud pivot ($100M+) |


๐Ÿ” Detection & Forensic Artifacts

For Blue Team monitoring, focus on these indicators of compromise (IoC):

Filesystem: Unexpected writes to /etc/ld.so.preload.

Process: Monitoring unshare and mount calls within containers .

History: Check for automated persistence in /var/spool/cron/crontabs/root.


โš–๏ธ Disclaimer

This material is provided by SASTRA_ADI_WIGUNA [Purple_Elite_Teaming] for educational and authorized security testing purposes only. Use of this information for illegal activities is strictly prohibited.


๐Ÿ“‹ To-Do / Next Steps

  • Integrate Falco/Sysdig detection rules.

  • Automate cleanup scripts for Red Team ops .

  • Map against MITRE ATT&CK T1611 (Escape to Host).


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)

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

    371
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    322

Explore all tools

Browse our collection of tools

View all tools โ†’