Skip to content
KitploitKITPLOIT
أدواتعمليات الاستغلالالمدونة
Log in
إرسال
أدواتعمليات الاستغلالالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

الخلاصاتاتصالالخصوصية© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
t3code-websocket-ticket-origin — T3 Code 61c3794c origin leftover. wsTicket upgrade ignores Origin. Cookie missing Origin is accepted. Cookie hostile Origin is rejected. Loopback lab. | Kitploit
أدوات/GitHubGitHub/abraxas/t3code-websocket-ticket-origin
Vulnerability AnalysisWeb Application ExploitationWeb SecurityPenetration TestingAuthenticationLabs & Practice
GitHubabraxas/t3code-websocket-ticket-origin

t3code-websocket-ticket-origin

T3 Code 61c3794c origin leftover. wsTicket upgrade ignores Origin. Cookie missing Origin is accepted. Cookie hostile Origin is rejected. Loopback lab.

عرض المستودع
4منذ 12 أياملم تتم المراجعة بعد
مشاركة
المحتوى غير متوفر باللغة المطلوبة. عرض النسخة الإنجليزية.

Abraxas Labs - t3code-websocket-ticket-origin

t3code-websocket-ticket-origin

A socket ticket in the URL does not care which website asked for it. Cookie sessions with a hostile Origin are rejected. Cookie sessions with no Origin header are accepted. Bearer tokens ignore Origin on purpose. The session cookie is SameSite=Lax, which is what currently stops a cross-site cookie WebSocket.

Class: Origin leftover Reach: Local / ticket holder (hostile Origin on wsTicket; missing Origin on cookies)

T3 Code 61c3794c - Ping

IDno CVE yet
ClassOrigin leftover
ReachLocal (ticket in the upgrade URL, or a cookie client that omits Origin)
CWECWE-346 / CWE-200
CVSSLow: 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
ProductT3 Code
Affected61c3794c32b0eeebfac09add43e403618c65d2d7
Authvalid wsTicket or browser session cookie
LicenseGNU Affero GPL v3.0
Labproduction authenticateWebSocketUpgrade on the Effect test layer

What an attacker can do

Needs a live wsTicket or a cookie that the browser will attach. Lax cookies are not attached to a cross-site WebSocket handshake in current browsers. A ticket in the query string is the path that skips Origin entirely.

PrivilegeMethod / sinkRecon / integrity / availabilityLab-proven or inferred
Authenticate a /ws upgrade with a ticket and a hostile OriginauthenticateWebSocketUpgrade, wsTicket queryIntegrity (session on the socket)Lab-proven. ticket-hostile-origin=accepted, Origin https://evil.example
Authenticate a cookie upgrade with no Origincookie fallback through isBrowserOriginAllowed (origin === undefined returns true)IntegrityLab-proven. cookie-missing-origin=accepted
Authenticate a Bearer upgrade from a hostile Originsame authenticator, Authorization headerIntegrityLab-proven. bearer-hostile-origin=accepted (product test; not a cookie)
Negative control: cookie + hostile OriginOrigin http://192.168.1.50:8080n/aLab-proven. rejected ServerAuthInvalidCredentialError
Negative control: cookie + trusted Originsame-host Originn/aLab-proven. accepted

Stays closed on this leftover

AxisMethod / sinkWhy it is closed
IntegrityCookie WebSocket from a random website with an Origin headerisBrowserOriginAllowed rejects; SameSite=Lax also withholds the cookie
IntegrityUnauthenticated /wsmissing credential fails
IntegrityCross-site cookie CSRF in current browsersCookies.set sameSite: "lax" in apps/server/src/auth/http.ts

The audit line "no Origin check anywhere on the upgrade path" is too wide. Cookie hostile Origin is rejected on this pin. The leftover is the ticket path and the missing-Origin cookie branch.

How I found it

GET /ws calls authenticateWebSocketUpgrade. If wsTicket is present, the function verifies the ticket and returns before isBrowserOriginAllowed. Cookie fallback does call it. I minted a ticket and a cookie session on the EnvironmentAuth test layer and sent the Origin matrix through the production function.

Wrong turns: reporting "no Origin check" for cookie upgrades (hostile Origin is rejected).

Lab

python3 t3code-websocket-ticket-origin-Abraxas-Labs.py

or:

cd lab
./run.sh
IOC cookie-missing-origin=accepted
IOC cookie-hostile-origin=rejected
IOC cookie-trusted-origin=accepted
IOC ticket-hostile-origin=accepted
IOC bearer-hostile-origin=accepted
IOC samesite=lax
SUCCESS T3-F04-WSORIGIN t3f04o6n1

The fix

Run isBrowserOriginAllowed on the ticket path too, or bind tickets to the Origin that minted them. Treat a missing Origin as a failure for cookie credentials instead of a pass. Add an explicit Origin allowlist on the upgrade (devOrigin, t3code://app, configured tunnel hosts). Keep SameSite=Lax (or Strict).

References

  • github.com/pingdotgg/t3code 61c3794c32b0eeebfac09add43e403618c65d2d7
  • EnvironmentAuth.authenticateWebSocketUpgrade
  • CWE-346 · CWE-200

License

GNU Affero GPL v3.0. See LICENSE. Loopback lab only. No warranty.

Abraxas Labs [email protected]

تنزيل الأداة

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 مجموعة أدوات OSINT المثالية: رسم بياني للتحقيق، وتقييم الثقة، وعائلات الأسماء المستعارة، وخريطة، وخط زمني، وتقارير. 49 وحدة، وأكثر من 400 موقع، دون الحاجة إلى مفاتيح API.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # تطبيق GhostLock للتنفيذ بنقرة واحدة (CVE-2026-43499)

    707
  • 3

    looking-glass

    anonghosty/looking-glass

    منصة CSIRT تستقبل تقارير Shadowserver في MongoDB وتعيد عرضها كخرائط تفاعلية وتحليلات ونتائج وإرشادات ولوحات معلومات تنفيذية.

    431
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer هي منصة مفتوحة المصدر لإدارة الامتيازات (PAM) توفر لفرق DevOps وتكنولوجيا المعلومات وصولًا آمنًا عند الطلب إلى نقاط نهاية SSH وRDP وKubernetes وقواعد البيانات وRemoteApp عبر متصفح الويب.

    405
  • 5

    SafeLine

    chaitin/safeline

    WAF مستضافة ذاتيًا ووكيل عكسي يقوم بتصفية حركة المرور HTTP الضارة، ويمنع هجمات SQL injection و XSS وهجمات البوت، مع تحديد معدل الطلبات وتشفير HTML/JS الديناميكي.

    352
  • 6

    ARTEX

    baarai/artex

    منصة اختبار اختراق مستقلة متعددة الوكلاء تعتمد على LLM، مع وكلاء تخطيط وتنفيذ، ومخططات للأصول والاستكشاف، وتسجيل حركة مرور MITM، وإعادة اختبار الثغرات.

    342

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →