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-0582-dataonly — Data-only local privilege escalation exploit for Linux kernel io_uring CVE-2024-0582, using sprayed file structures and ext4_file_operations hooks to create a backdoor user. | Kitploit
Tools/GitHubGitHub/101010zyl/cve-2024-0582-dataonly
Privilege EscalationVulnerability AnalysisExploitationPayload DevelopmentBinary Exploitation
GitHub101010zyl/cve-2024-0582-dataonly

CVE-2024-0582-dataonly

Data-only local privilege escalation exploit for Linux kernel io_uring CVE-2024-0582, using sprayed file structures and ext4_file_operations hooks to create a backdoor user.

Share
View Repository
5251 year agoNot yet reviewed

CVE-2024-0582

A data-only attack based on CVE-2024-0582

Description

The exploit follows the strategy in this blog post, except that I didn't use a child process to open files.

I found some exploits on GitHub follows the strategy in this write-up.

After I reproduced the exploit with socket-based control flow hijacking, I tried to implement the exploit with a data-only attack, which seems not open-sourced yet.

Try Claude

I fed the two write-ups above and https://github.com/ysanatomic/io_uring_LPE-CVE-2024-0582/blob/main/exploit.c into Claude and said:

Could you modify the code to fit in the data-only attack? It means open file instead of sock, seek ext4_file_operations instead of egg, delete the control flow hijack and modify the file permission.

This generated a code with a child process. But I think it's hard to debug if I use a child process. So I said:

Why not open file in the process, not using a child?

Then it generated almost the existing code.

Then I:

  1. Adjusted the backdoor string for easier understanding.
  2. Adjusted the file mode flags based on the source code. What Claude generated is wrong.
  3. Increased the number of fd to spray more file struct, since it's much shorter than sock struct.

Usage

  1. Verify the ext4_fops_offset.
  2. Verify the file mode flags.
  3. Perhaps increase the number of fd to spray more file struct.
  4. Compile and run.
gcc exploit.c -o exploit -luring
./exploit
  1. Check the backdoor user. Or simply logout and then login with the backdoor user.
sudo cat /etc/passwd # If you can use sudo
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.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

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

    405
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    352
  • 6

    ARTEX

    baarai/artex

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

    342

Explore all tools

Browse our collection of tools

View all tools →