Taskcluster web-server OAuth2 authorization codes are reusable and the exchange handler checks the wrong expiry column
身份认证 / Authentication Bypass by Capture-replay / #3734676
该报告还没有中文解读。
原文摘录
摘自原文(6162 字符中的一小部分)
The Taskcluster web-server's OAuth2 token-exchange handler does not consume authorization codes and does not enforce the authorization-code expiry. A leaked authorization code can be replayed to mint additional bridge access tokens for the original user, well past the 10-minute window that RFC 6749 …
原文中的代码
$ source ~/.nvm/nvm.sh && nvm use 24.15.0 $ cd taskcluster && yarn install $ docker compose up -d postgres $ docker exec taskcluster-postgres-1 psql -U postgres -c "CREATE DATABASE \"taskcluster-test\";" $ cd services/web-server $ TEST_DB_URL=postgresql://postgres@localhost:5432/taskcluster-test …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Mozilla 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @anshuman_bh · 版权归作者与 Mozilla 所有