$ ctf42

single_trust

Web No technique tags yet.
Difficulty Not rated yet

Flag format: lactf{...}

r2uwu2 I was researching zero trust proofs in cryptography and now I have zero trust in JWT libraries so might roll my own.

Turns out, Aplet123 was researching zero trust proofs (web/zero-trust) a few years ago in LA CTF 2023.

I trust aplet so I'll just use his library (with his backdoor patched out).

$: diff single-trust/index.js zero-trust/index.js 47c47 < res.locals.user = JSON.parse(Buffer.concat([cipher.update(ct), cipher.final()]).toString("utf8"));


    res.locals.user = JSON.parse(cipher.update(ct).toString("utf8"));

Writeups

Official

No official writeup linked.

Community

No community writeups yet. Solved it? Share how.

Log in to add a community writeup.