Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-0543-Home-Lab — CVE-2022-0543 - Redis RCE Vulnerability home lab for Red Teaming, Penetration Testing Training with just one DOCKER | Kitploit
Tools/GitHubGitHub/netw0rk7/cve-2022-0543-home-lab
Container SecurityVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed TeamingLabs & Practice
GitHubnetw0rk7/cve-2022-0543-home-lab

CVE-2022-0543-Home-Lab

CVE-2022-0543 - Redis RCE Vulnerability home lab for Red Teaming, Penetration Testing Training with just one DOCKER

View Repository
8 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2022-0543 — Redis Lua Sandbox Escape (Remote Code Execution)


CVE‑2022‑0543 — Redis Lua Sandbox Escape คืออะไร?

20220543

ช่องโหว่นี้เกิดเฉพาะบน Redis ที่ติดตั้งผ่าน Debian / Ubuntu package เท่านั้น
เพราะ Redis ถูกคอมไพล์พร้อม Lua engine แบบ dynamic module (lua-cjson, lua-bitop) ทำให้ผู้โจมตีสามารถเรียกใช้:

root@kitploit:~
package.loadlib()

เพื่อโหลดฟังก์ชัน IO ของระบบ และรันคำสั่งใน Host ซึ่งทำให้เกิด Remote Code Execution (RCE)


Lab นี้จำลองอะไร?

  • Redis เวอร์ชันที่มีช่องโหว่
  • Lua engine เปิด package.loadlib
  • เปิด Redis แบบไม่มี password
  • Flag สร้างใหม่ทุกครั้งที่ container start
  • PoC ทำงานได้จริง

วิธีใช้งาน Lab

1) Build

root@kitploit:~
docker compose build

2) Run

root@kitploit:~
docker compose up -d

3) Test

root@kitploit:~
redis-cli -h localhost -p 6379 ping

การใช้ PoC

PoC:

root@kitploit:~
https://github.com/0x7eTeam/CVE-2022-0543

English Version

What is CVE‑2022‑0543?

This is a Debian-specific Redis RCE caused by improper Lua sandboxing.
The Redis Debian package loads Lua modules dynamically, exposing:

root@kitploit:~
package.loadlib()

allowing a full escape → host OS command execution.


What This Lab Simulates

  • Vulnerable Redis
  • Lua engine with unrestricted loadlib
  • Redis exposed without password
  • Auto flag generator
  • PoC works exactly as real-world exploitation

Usage

Build

root@kitploit:~
docker compose build

Start

root@kitploit:~
docker compose up -d

Test

root@kitploit:~
redis-cli -h localhost -p 6379 ping

PoC Usage

PoC:

root@kitploit:~
https://github.com/0x7eTeam/CVE-2022-0543

Notes

  • For education only
  • Do not use on production
  • This lab is intentionally vulnerable
Download Tool