Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,794 changes: 4,794 additions & 0 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -2794,7 +2794,7 @@ <h2 id="org660877d">Example ALG Header Attack</h2>
</ul></li>
<li class="fragment appear">Attacker can replace ALG with symmetric version:
<ul>
<li><code class="src src-shell">{alg: <span style="color: #8b2252;">"HS256"</span>, jku: <span style="color: #8b2252;">"https://bad.com/pk.json"</span>}</code></li>
<li><code class="src src-shell">{alg: <span style="color: #8b2252;">"HS256"</span>, jku: <span style="color: #8b2252;">"https://good.com/pk.json"</span>}</code></li>

</ul></li>
<li class="fragment appear">Don't trust header (validate against whitelist)</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/slides.org
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ print(req.text)
- Header can provide URL for key (useful):
- src_shell[:exports code]{{alg: "EdDSA", jku: "https://good.com/pk.json"}}
- Attacker can replace ALG with symmetric version:
- src_shell[:exports code]{{alg: "HS256", jku: "https://bad.com/pk.json"}}
- src_shell[:exports code]{{alg: "HS256", jku: "https://good.com/pk.json"}}
- Don't trust header (validate against whitelist)


Expand Down