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
OverlayFS-CVE-2021-3493 — Exploit a 2021 Kernel vulnerability in Ubuntu to become root almost instantly! | Kitploit
Tools/GitHubGitHub/fathallah17/overlayfs-cve-2021-3493
Privilege EscalationExploitationCTFLearning & EducationBinary ExploitationLabs & Practice
GitHubfathallah17/overlayfs-cve-2021-3493

OverlayFS-CVE-2021-3493

Exploit a 2021 Kernel vulnerability in Ubuntu to become root almost instantly!

Share
View RepositoryWebsite
782 years agoNot yet reviewed

OverlayFS — CVE-2021–3493 || Writeup || Tryhackme

Capture22

📖 Introduction

What is OverlayFS.?

OverlayFS is a Linux kernel module that allows the system to combine several mount points into one, so that you can access all the files from each within one directory structure.

It’s often used by live USBs, or some other specialist applications. One use is having a read only root file system, and another partition “overlayed” with that to allow applications to write to a temporary file system.

More resources are included in the final task (Further reading) if you’d like to learn more about OverlayFS and this exploit.

I have a very rough overview of what OverlayFS is — — →

No Answer Needed

CVE-2021–3493 — OverlayFS Exploit

Credentials for SSH

Username: overlay
Password: tryhackme123

Start the Attack box and and login into the SSH using the credentials given in the task.

Answer the questions below:

Deploy the machine with the Start Machine button in this task and wait up to 2 minutes for the VM to boot.

No Answer Required.

SSH into the machine with the credentials provided in the task text.

No Answer Rerquired

Grab the source code for the exploit from SSD-Disclosure here and save it as exploit.c on the target machine.

Go to the link provided and save the exploit as exploit.c using Vim editor or nano editor in the terminal.

Compile the exploit with gcc.

Compile the code using the command

 gcc -o exploit exploit.c

Run your compiled exploit, and get root!

./exploit

What’s the flag in /root/?

bash-4.4# id
bash-4.4# cd /root/
bash-4.4# cat flag.txt

Happy Hacking..!!

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.

    546
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    477
  • 3

    ARTEX

    baarai/artex

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

    377
  • 4

    redforge

    cybersecurity91/redforge

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

    324
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

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

    252

Explore all tools

Browse our collection of tools

View all tools →