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-2012-2122-Home-Lab — CVE-2012-2122 MySQL Authentication Bypass Home Lab | Kitploit
Tools/GitHubGitHub/netw0rk7/cve-2012-2122-home-lab
Vulnerability AnalysisExploitationCTFLearning & EducationDatabase SecurityLabs & Practice
GitHubnetw0rk7/cve-2012-2122-home-lab

CVE-2012-2122-Home-Lab

CVE-2012-2122 MySQL Authentication Bypass Home Lab

View Repository
3511 months agoNot yet reviewed
Share

ENGLISH BELOW

CVE-2012-2122 MySQL Authentication Bypass Home Lab

20220543

Lab นี้เป็นตัวอย่างสาธิตช่องโหว่ CVE-2012-2122 - MySQL Authentication Bypass
เกิดจากข้อผิดพลาดในการเปรียบเทียบค่ารหัสผ่านใน MySQL เวอร์ชัน 5.5.23 หรือต่ำกว่า
เมื่อผู้โจมตีส่งรหัสผ่านผิดซ้ำ ๆ หลายครั้ง MySQL อาจยอมให้เข้าสู่ระบบได้โดยไม่ได้ตั้งใจ


Features

  • ใช้ฐานจาก vulhub/mysql:5.5.23
  • มีสคริปต์ entrypoint.sh ที่สร้าง flag อัตโนมัติ
  • flag อยู่ที่ /tmp/flag.txt
  • flag เปลี่ยนใหม่ทุกครั้งเมื่อ docker restart
  • เหมาะสำหรับ PenTest / Red Team / CTF training

วิธีใช้งาน

1) Build และรัน

docker-compose build
docker-compose up -d

2) ตรวจสอบสถานะ

docker ps
docker logs s7-mysql-cve-2012-2122

วิธีโจมตี CVE-2012-2122

https://www.exploit-db.com/exploits/19092

ถ้าช่องโหว่ทำงาน จะเข้าสู่ MySQL shell ได้ทันที


วิธีหา FLAG

1) เข้าภายใน container

docker exec -it s7-mysql-cve-2012-2122 bash
cat /tmp/flag.txt

2) ถ้าสามารถใช้ LOAD_FILE ได้

SELECT LOAD_FILE('/tmp/flag.txt');

ไฟล์ที่รวมอยู่ใน Lab

  • Dockerfile
  • entrypoint.sh
  • docker-compose.yml

English Version

This lab demonstrates CVE-2012-2122 - MySQL Authentication Bypass

Features

  • Based on vulhub/mysql:5.5.23
  • Auto-regenerated flag stored in /tmp/flag.txt
  • New flag each container start
  • Ideal for CTF, red team exercises, and vulnerability research

Deployment

docker-compose build
docker-compose up -d

Exploit CVE-2012-2122

https://www.exploit-db.com/exploits/19092

Retrieve Flag

SELECT LOAD_FILE('/tmp/flag.txt');

License

For training and educational purposes only.

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.

    837
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    424
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    276

Explore all tools

Browse our collection of tools

View all tools →