Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2026-8080-DKIM-Signature-Verification-Bypass-Header-Canonicalization-Flaw- — CVE-2026-8080 DKIM 검증 우회를 시뮬레이션하는 Python 데모로, 비준수 헤더 정규화(non-compliant header canonicalization)가 서명 검증이 여전히 통과되는 동안 공격자가 헤더를 주입할 수 있게 하는 방식을 보여줍니다. | Kitploit
도구/GitHubGitHub/george0papasotiriou/cve-2026-8080-dkim-signature-verification-bypass-header-canonicalization-flaw-
Vulnerability AnalysisExploitationCryptographyEmail Security
GitHubgeorge0papasotiriou/cve-2026-8080-dkim-signature-verification-bypass-header-canonicalization-flaw-

CVE-2026-8080-DKIM-Signature-Verification-Bypass-Header-Canonicalization-Flaw-

CVE-2026-8080 DKIM 검증 우회를 시뮬레이션하는 Python 데모로, 비준수 헤더 정규화(non-compliant header canonicalization)가 서명 검증이 여전히 통과되는 동안 공격자가 헤더를 주입할 수 있게 하는 방식을 보여줍니다.

저장소 보기

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
17일 전아직 검토되지 않음

CVE-2026-8080 – DKIM 서명 검증 우회 (헤더 정규화 결함)

프로그램 코드 (Python 이메일 파싱 시뮬레이션)

root@kitploit:~
# dkim_verifier_sim.py - Flawed DKIM verifier
import re, hashlib

# Simulated email with DKIM signature
raw_email = b"""From: [email protected]
To: [email protected]
Subject: Hello
DKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=mail; h=from:to:subject;
        b=abc123; bh=def456;
X-Extra: injected

This is a test.
"""

def parse_headers(raw):
    headers = {}
    lines = raw.decode().split('\r\n')
    for line in lines:
        if ': ' in line:
            key, val = line.split(': ', 1)
            headers[key.lower()] = val
    return headers

def verify_dkim(raw):
    headers = parse_headers(raw)
    # Vulnerability: canonicalisation does not remove extra headers not in the 'h' list
    # According to RFC, only headers listed in 'h' are signed, but the verifier should exclude others.
    # Here we simulate that extra header 'x-extra' is mistakenly included in the hash computation
    # because the verifier canonicalizes all headers instead of just the listed ones.
    signed_headers = headers['dkim-signature'].split('h=')[1].split(';')[0].split(':')
    # Build header list for hash
    header_block = ""
    for h in signed_headers:
        header_block += f"{h}:{headers[h]}\r\n"
    # Flaw: include extra header X-Extra because it's present in the actual headers
    if 'x-extra' in headers:
        header_block += f"x-extra:{headers['x-extra']}\r\n"
    # Now compute hash and compare... For demo, we'll just print that verification succeeds incorrectly.
    print("Verification passed (incorrectly includes extra header)")

verify_dkim(raw_email)

CVE-2026-8080 – DKIM 서명 검증 우회 (헤더 정규화 오류)

Severity: Medium

개요

메일 서버의 DKIM 검증기가 RFC 6376에 정의된 정규화 알고리즘을 엄격히 따르지 않습니다. 해시 계산에 추가 헤더 필드를 포함하므로, 공격자가 서명이 여전히 검증을 통과하는 동안 이메일의 동작을 변경하는 헤더(예: X-Extra: injected)를 추가할 수 있습니다.

취약점 세부 정보

  • 유형: 암호화 검증 우회
  • 영향: 이메일 스푸핑, 피싱, 스팸 필터 우회
  • 근본 원인: 검증기가 h= 태그에 나열된 헤더만이 아닌 모든 존재하는 헤더를 정규화하여, 서명된 내용과 검증된 내용 사이에 불일치가 발생합니다.

익스플로잇 데모

시뮬레이션된 결함 검증기를 실행합니다:

root@kitploit:~
python dkim_verifier_sim.py

추가 헤더가 추가되었음에도 “Verification passed”를 출력합니다.

도구 다운로드