דילוג לתוכן
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/web-auth-jwtWeb ו-bug bounty

web-auth-jwt

⁨Attack JWT/session authentication. Load when auth uses a JWT (three base64url parts, header.payload.signature), Authorization: Bearer, or you see alg/kid/jku fields. Signals: eyJ... tokens, "alg":"none"/"HS256"/"RS256", kid header, JWKS endpoints, role/admin claims.⁩

v2026.10.14-ee0e0c55 התקנות⁦+5⁩ ב-7 ימים27 כוכביםMITסונכרן לפני 22 שעות

התקנה

עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/web-auth-jwt

נכתב אל ⁦~/.notholy/skills⁩ אחרי בדיקת החתימה וה-SHA-256.

חתימהחתום, ed25519
v8N7+KAY1t…8zgGOgAw==ה-CLI בודק את ה-SHA-256 ואת החתימה לפני שהוא כותב קובץ כלשהו.
חבילהa6b85e8e…d7897095
a6b85e8e1f43…6f56d78970953 קבצים · ⁦3.9 KB⁩
סריקהנמוךממצא אחד
  • קישורים לדומיינים חיצוניים
לסריקה המלאה
מקורgithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-auth-jwt@ee0e0c5

הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.

When it applies

The app authenticates with a JSON Web Token and trusts claims inside it (user id, role, isAdmin). The win is forging a valid-looking token the server accepts.

Why it works

JWTs are only as safe as their signature verification. Implementations routinely skip it, confuse algorithms, or trust attacker-controlled key hints (kid, jku, x5u). If you can make the server accept a signature you produced, you own every claim.

Method

Payloads & full variation set: cheatsheet.md next to this file — work the set, not the first line.

  1. Decode & read claims: jwt_tool <token> — look for role, admin, sub, weak exp.
  2. alg=none: strip the signature and set header {"alg":"none"}; some libs accept it.
  3. Algorithm confusion RS256→HS256: if the server verifies RS256 with the public key, re-sign HS256 using that public key as the HMAC secret — server verifies with the same key. jwt_tool -X k -pk public.pem.
  4. Weak HMAC secret: crack HS256 offline — hashcat -m 16500 token.txt rockyou.txt; if it falls, mint any token.
  5. kid / jku / x5u abuse: kid path traversal or SQLi to control the key file; jku/x5u pointing at your JWKS so the server fetches your public key and you sign with your private key.

Gotchas

  • Editing claims without re-signing fails unless verification is broken — confirm the vuln class first.
  • exp/nbf may be enforced even when signature isn't — keep timestamps valid.
  • Public key sourcing: grab it from /.well-known/jwks.json, a cert, or TLS if not published.

Verify success

Server accepts a token you forged with elevated claims (e.g. admin panel loads, or an authenticated endpoint returns another user's data with your minted sub).

References

PortSwigger JWT labs; jwt_tool wiki; Auth0 "Critical vulnerabilities in JWT libraries".

הקבצים בגרסה הזו

הרשאות

הרשאההוצהרנמצא בסריקה
קורא קבציםלאלא
כותב קבציםלאלא
מריץ פקודות shellלאלא
משתמש ברשתכןכן
משתמש במחבריםלאלא
שולט בדפדפןלאלא

ממצאי הסריקה

נבדק ב-13 בנוב׳ 2026

  1. מידעקישור · קישורים לדומיינים חיצוניים

סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.

גרסהפורסמהCommitSHA-256חתימהשינוי בהרשאות
v2026.10.14-ee0e0c513 בנוב׳ 2026ee0e0c5a6b85e8eחתומה–

שאלו כל מה שהסקופ מאפשר.

יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.

  1. 1/3

    יצירת חשבון

    פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.

    פרטיחברה
  2. 2/3

    הוספת קרדיטים

    בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.

    $5.00טעינה מינימלית
  3. 3/3

    שאלה ראשונה

    בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.

    $ notholy login