keybase / keybase/keybase-issues

CSRF token is leaking on invalid request

Open
#1,723 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

CSRF token should be unique ,unpredictable . But in this request if the user is not login , csrf is leaking https://keybase.io/_/api/1.0/sig/next_seqno.json , which can be used again next time when user is login .

CSRF token should not appear in a failed/error request

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the unauthenticated request to https://keybase.io/_/api/1.0/sig/next_seqno.json and inspect the failed response for the CSRF token. Done means the error response no longer exposes a reusable CSRF token while the later authenticated request still receives valid CSRF protection.

Written by the indexing model from the issue text.

Assessment

Domain
api, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.