flaw2shell 은 무엇인가What is flaw2shell?

공개된 CVE를 골라 결함의 원리와 익스플로잇 흐름을 개념 중심으로 해설하는 보안 학습 사이트Curated, concept-first explanations of public CVEs: what the flaw is and how exploitation works

목적

flaw2shell은 exploit-db 같은 익스플로잇 저장소가 아닙니다. 공개된 CVE 하나를 골라 무엇이 잘못되었는지(flaw)와 그 결함이 어떻게 코드 실행(shell)까지 이어지는지를 원리 중심으로 풀어 쓰고, 마지막에는 항상 “패치 한 줄이 왜 그 흐름을 끊는가”로 돌아옵니다.

모의해킹·보안 자격증(Security+, 정보보안기사, PT 등) 준비생, CTF 플레이어, 보안을 공부하는 개발자를 위해 만들었습니다. 같은 취약점 클래스(CWE)의 글을 묶어 읽으면 근본 원인과 패치의 반복되는 모양이 보입니다 — 취약점 클래스에서 시작해 보세요.

책임있는 설계 원칙

  1. 개념·원리 중심. 복붙하면 동작하는 무기화된 익스플로잇, 리버스쉘, 셸코드, 페이로드 생성 명령은 싣지 않습니다. 빌드 단계에서 이런 패턴이 감지되면 해당 블록은 자동으로 렌더링에서 제외됩니다.
  2. 격리된 실습 전제. 재현은 인터넷과 분리된 로컬 Docker 랩에서, 본인이 소유하거나 명시적으로 허가받은 시스템으로만 하세요. 권한 없는 시스템에 대한 시도는 대부분의 국가에서 불법입니다(국내: 정보통신망법 등).
  3. 공식 패치로 연결. 모든 글은 벤더 어드바이저리, NVD/CVE 레코드, 패치 커밋 같은 1차 출처로 연결합니다. 독자가 가장 먼저 해야 할 일은 “업데이트”입니다.
  4. 책임있는 공개(Responsible disclosure). 이미 공개되고 패치가 배포된 취약점만 다룹니다. 미공개 취약점을 발견했다면 이 사이트가 아니라 해당 벤더의 보안 연락처(security.txt, 버그바운티)나 KISA 등 조정 기관을 통해 제보하세요.
  5. 저작권 존중. 뉴스·블로그 원문은 요약과 링크로만 소개하며 장문 인용이나 전재를 하지 않습니다.
  6. 사람 검토 게이트. 글은 CVE 수집 파이프라인이 초안을 만들지만, 사람이 검토해 status: published로 바꾼 글만 게시됩니다. 검토 대기·초안 문서는 빌드에서 제외되고, 빌드 후 검증 스크립트가 이를 다시 확인합니다.

글의 구조

모든 글은 같은 8개 섹션을 같은 순서로 가집니다: TL;DR → Flaw 분류 → 근본 원인 → 익스플로잇 흐름(개념) → 트리거 조건 → 패치 분석 → 탐지·완화 → References. 익스플로잇 흐름은 단계 다이어그램으로, 패치는 실제 diff의 추가/삭제 줄로 보여 줍니다.

사실 확인 방식

공개 전 모든 글은 자동으로 공식 출처와 대조합니다. 글 위의 “NVD·공식 패치와 자동 대조 완료” 표시는 아래 검사를 통과했다는 뜻입니다.

  • 점수·분류: CVSS 점수, 심각도, CWE가 NVD 레코드와 같은지 확인합니다.
  • 패치 코드: 글에 인용한 diff의 줄이 실제 패치 커밋에 있는지 줄 단위로 대조합니다. 지어낸 코드가 있으면 공개할 수 없습니다.
  • 출처 링크: 모든 참조 링크가 실제로 열리는지 확인합니다.
  • 교차 검증: 초안을 쓰지 않은 별도 모델이 영향 버전, 함수명, 근본 원인 같은 핵심 주장을 공식 문서로 다시 확인하고, 확인되지 않은 부분은 사람이 원문과 대조합니다.

공개 후 점수나 내용이 바뀌면 고치고 수정 날짜를 표시합니다.

오류 제보

기술적 오류나 저작권 문제를 발견하면 저장소 이슈로 알려 주세요. 정정 내역은 커밋 기록으로 남습니다.

Purpose

flaw2shell is not an exploit archive. Each post takes one public CVE and explains what the flaw is and how it escalates toward code execution, concept-first — and always returns to why the patched line breaks that chain.

It is written for pentest and security-cert candidates (Security+, PT, …), CTF players and developers learning security. Reading posts of the same weakness class (CWE) together reveals recurring root causes and fixes — start from Classes.

Responsible design principles

  1. Concepts over payloads. No copy-paste weaponized exploits, reverse shells, shellcode or payload-generator commands. Blocks matching such patterns are removed automatically at build time.
  2. Isolated labs only. Reproduce only in an offline local Docker lab, on systems you own or are explicitly authorized to test. Unauthorized testing is illegal in most jurisdictions.
  3. Link to the official fix. Every post links to primary sources: vendor advisories, NVD/CVE records, patch commits. The first thing a reader should do is update.
  4. Responsible disclosure. We only cover vulnerabilities that are already public and patched. If you found an undisclosed issue, report it to the vendor (security.txt, bug bounty) or a coordinator such as CERT/CC — not here.
  5. Copyright. News and blog sources are summarized and linked, never republished at length.
  6. Human review gate. A CVE pipeline drafts posts, but only posts a human has reviewed and marked status: published are built. Drafts and review-pending files are excluded, and a post-build script re-verifies this.

How we fact-check

Before publication every post is checked against official sources automatically. The “Fact-checked against NVD and the official patch” mark means it passed these checks:

  • Scores and classification: CVSS score, severity and CWE match the NVD record.
  • Patch code: every quoted diff line is matched against the real patch commit. A post with invented code cannot be published.
  • Source links: every reference link is confirmed to open.
  • Cross-check: a separate model that did not write the draft re-checks key claims (affected versions, function names, root cause) against official documents, and a human verifies anything it could not confirm.

If a score or detail changes after publication, we correct it and show an updated date.

Post structure

Every post has the same eight sections in the same order: TL;DR → Flaw classification → Root cause → Exploit flow (conceptual) → Trigger conditions → Patch analysis → Detection & mitigation → References.