-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathindex.html
More file actions
298 lines (275 loc) · 12.9 KB
/
Copy pathindex.html
File metadata and controls
298 lines (275 loc) · 12.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JWTLens - Comprehensive JWT Security Scanner for Burp Suite</title>
<meta name="description" content="JWTLens is a Burp Suite extension that automatically detects and tests JWTs for security vulnerabilities. 62 security checks covering passive scanning, algorithm confusion, signature bypass, KID injection, weak secret brute force, and a built-in JWT Forge tab.">
<meta name="keywords" content="jwt scanner, jwt security, burp suite extension, jwt decoder, jwt vulnerability, jwt brute force, algorithm confusion, jwt forge, penetration testing, jwt analyzer">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://chawdamrunal.github.io/JWTLens/">
<meta property="og:title" content="JWTLens - Comprehensive JWT Security Scanner for Burp Suite">
<meta property="og:description" content="Burp Suite extension with 62 security checks — passive scanning, algorithm confusion, signature bypass, KID injection, weak secret brute force, and a built-in JWT Forge tab.">
<meta property="og:image" content="https://github.com/user-attachments/assets/d462bafc-1131-4695-90ef-6066ef537e0f">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:site_name" content="JWTLens">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://chawdamrunal.github.io/JWTLens/">
<meta name="twitter:title" content="JWTLens - Comprehensive JWT Security Scanner for Burp Suite">
<meta name="twitter:description" content="Burp Suite extension with 62 security checks — passive scanning, algorithm confusion, signature bypass, KID injection, weak secret brute force, and a built-in JWT Forge tab.">
<meta name="twitter:image" content="https://github.com/user-attachments/assets/d462bafc-1131-4695-90ef-6066ef537e0f">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop stop-color='%23667eea'/%3E%3Cstop offset='1' stop-color='%23764ba2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='16' cy='16' r='14' fill='none' stroke='url(%23g)' stroke-width='2'/%3E%3Ctext x='16' y='20' text-anchor='middle' font-size='8' font-weight='bold' fill='url(%23g)'%3EJWT%3C/text%3E%3C/svg%3E">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
color: #e0e0e0;
min-height: 100vh;
}
a { color: #7c8cf8; text-decoration: none; }
a:hover { text-decoration: underline; }
.hero {
text-align: center;
padding: 60px 20px 40px;
}
.hero img {
max-width: 700px;
width: 100%;
border-radius: 12px;
margin-bottom: 24px;
}
.hero h1 {
font-size: 2.4rem;
background: linear-gradient(135deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 12px;
}
.hero p {
font-size: 1.15rem;
color: #b0b0c0;
max-width: 720px;
margin: 0 auto 28px;
line-height: 1.6;
}
.btn-row {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
}
.btn {
display: inline-block;
padding: 12px 28px;
border-radius: 8px;
font-weight: 600;
font-size: 1rem;
transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.3); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.btn-outline { border: 2px solid #667eea; color: #667eea; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px 60px; }
.stats {
display: flex;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
padding: 40px 20px;
}
.stat {
text-align: center;
}
.stat-num {
font-size: 2.4rem;
font-weight: 700;
background: linear-gradient(135deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.stat-label { color: #888; font-size: 0.9rem; margin-top: 4px; }
h2 {
font-size: 1.6rem;
margin: 48px 0 20px;
color: #fff;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
}
.feature-card {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 12px;
padding: 24px;
}
.feature-card h3 {
color: #7c8cf8;
font-size: 1.1rem;
margin-bottom: 8px;
}
.feature-card p {
color: #999;
font-size: 0.92rem;
line-height: 1.55;
}
.checks-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
margin-top: 16px;
}
.check-item {
background: rgba(255,255,255,0.04);
border-radius: 8px;
padding: 14px;
font-size: 0.9rem;
color: #b0b0c0;
}
.check-item strong { color: #e0e0e0; }
.install-block {
background: rgba(0,0,0,0.3);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 12px;
padding: 24px;
margin-top: 20px;
}
.install-block code {
display: block;
background: rgba(0,0,0,0.4);
padding: 16px;
border-radius: 8px;
color: #7c8cf8;
font-size: 0.95rem;
margin-top: 12px;
overflow-x: auto;
}
.install-block p { color: #999; line-height: 1.6; }
.screenshots {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
gap: 20px;
margin-top: 20px;
}
.screenshots img {
width: 100%;
border-radius: 10px;
border: 1px solid rgba(255,255,255,0.1);
}
.screenshots figcaption {
text-align: center;
color: #888;
font-size: 0.85rem;
margin-top: 8px;
}
footer {
text-align: center;
padding: 40px 20px;
color: #666;
font-size: 0.85rem;
border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 600px) {
.hero h1 { font-size: 1.6rem; }
.hero p { font-size: 1rem; }
.stats { gap: 24px; }
.stat-num { font-size: 1.8rem; }
.screenshots { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<section class="hero">
<img src="https://github.com/user-attachments/assets/d462bafc-1131-4695-90ef-6066ef537e0f" alt="JWTLens logo banner">
<h1>JWTLens</h1>
<p>Comprehensive JWT Security Scanner for Burp Suite. Automatically detects and tests JSON Web Tokens for security vulnerabilities with 62 checks — no manual effort required.</p>
<div class="btn-row">
<a href="https://github.com/chawdamrunal/JWTLens" class="btn btn-primary">View on GitHub</a>
<a href="https://github.com/chawdamrunal/JWTLens#installation" class="btn btn-outline">Installation Guide</a>
</div>
</section>
<div class="stats">
<div class="stat"><div class="stat-num">62</div><div class="stat-label">Security Checks</div></div>
<div class="stat"><div class="stat-num">23</div><div class="stat-label">Passive Checks</div></div>
<div class="stat"><div class="stat-num">33</div><div class="stat-label">Active Checks</div></div>
<div class="stat"><div class="stat-num">6</div><div class="stat-label">Secret Extraction</div></div>
<div class="stat"><div class="stat-num">200+</div><div class="stat-label">Built-in Secrets</div></div>
</div>
<div class="container">
<h2>Key Features</h2>
<div class="features">
<div class="feature-card">
<h3>JWT Forge Tab</h3>
<p>A live jwt.io-style editor built into Burp. Edit headers & claims, re-sign with any algorithm, export as cURL or Python. Cracked secrets auto-fill instantly.</p>
</div>
<div class="feature-card">
<h3>Passive Secret Extraction</h3>
<p>Automatically finds hardcoded JWT secrets, RSA/EC private keys, inline JWKS, and Base64-encoded secrets from JS, JSON, and HTML responses.</p>
</div>
<div class="feature-card">
<h3>Real JWKS Parsing</h3>
<p>Algorithm confusion attacks use the server's actual public key from JWKS endpoints — not generated keys. This means attacks actually work on real targets.</p>
</div>
<div class="feature-card">
<h3>Full Passive Scanning</h3>
<p>23 checks run automatically on every request/response through Burp Proxy. No other JWT extension does this. Zero manual effort required.</p>
</div>
<div class="feature-card">
<h3>KID Injection Testing</h3>
<p>SQL injection (UNION SELECT, error-based), command injection (time-based), LDAP injection, and path traversal with 10+ traversal paths.</p>
</div>
<div class="feature-card">
<h3>Smart Deduplication</h3>
<p>Tracks unique JWTs per host. Browse 50 pages with the same token and get one set of findings, not 50. Clear cache anytime from the UI.</p>
</div>
</div>
<h2>What It Covers</h2>
<div class="checks-grid">
<div class="check-item"><strong>Signature Bypass</strong><br>Algorithm None, invalid sig, stripping, null bytes, payload modification</div>
<div class="check-item"><strong>Weak Keys</strong><br>Empty secret, 200+ secret brute force, weak RSA key size detection</div>
<div class="check-item"><strong>Algorithm Attacks</strong><br>RS256→HS256 confusion, cross-algorithm signing, forged public key</div>
<div class="check-item"><strong>Header Injection</strong><br>JWK, JKU, X5U, X5C injection with SSRF pingback detection</div>
<div class="check-item"><strong>KID Injection</strong><br>Path traversal, SQL injection, command injection, LDAP injection</div>
<div class="check-item"><strong>Token & Claims</strong><br>Expired token acceptance, claim tampering, subject enumeration, clock skew</div>
<div class="check-item"><strong>Cookie Security</strong><br>Missing HttpOnly, Secure, SameSite flags on JWT cookies</div>
<div class="check-item"><strong>CVEs</strong><br>CVE-2022-21449 Psychic Signatures, ECDSA signature malleability</div>
</div>
<h2>Screenshots</h2>
<div class="screenshots">
<figure>
<img src="images/jwtlense01.png" alt="JWTLens Burp site map with JWT findings">
<figcaption>Site map with JWT findings</figcaption>
</figure>
<figure>
<img src="images/jwtlense02.png" alt="JWTLens scanner tab with findings table">
<figcaption>Findings dashboard with 62 checks</figcaption>
</figure>
<figure>
<img src="images/jwtlense03.png" alt="JWTLens context menu">
<figcaption>Right-click context menu</figcaption>
</figure>
<figure>
<img src="images/jwtlense04.png" alt="JWT Forge tab with live token editor">
<figcaption>JWT Forge tab — live editor with signing</figcaption>
</figure>
</div>
<h2>Quick Start</h2>
<div class="install-block">
<p><strong>Prerequisites:</strong> Java 17+ and Burp Suite Professional or Community (2024.1+)</p>
<code>git clone https://github.com/chawdamrunal/JWTLens.git
cd JWTLens/jwtlens-burp
./gradlew clean jar</code>
<p style="margin-top: 16px;">Load <strong>build/libs/jwtlens-1.0.0.jar</strong> in Burp Suite → Extensions → Add. Two new tabs appear: <strong>JWTLens</strong> and <strong>JWT Forge</strong>.</p>
</div>
</div>
<footer>
MIT License • Built by the JWTLens team • <a href="https://github.com/chawdamrunal/JWTLens">GitHub</a>
</footer>
</body>
</html>