Critical security: a couple of access control problems in the API and ws-server (details to be shared privately)
Maintainer thường phản hồi trong vòng 1 ngày
@Anshuu2004 đang làm issue này rồi.
Từ ngày 27/10/2026.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- express, postgresql, typescript
- Lĩnh vực
- api, authentication, authorization, backend, security
Hướng nghiên cứu
The issue describes an unauthenticated read path and a WebSocket action that trusts a participant ID, but withholds the endpoint names, reproduction steps, and suggested patch. Ask the reporter for the private details and repro script first; use those to locate the API and WebSocket handlers and the failing test. Done means both access checks are covered by tests and legitimate client behavior still works.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
While looking at Rexial's quiz flow I found two access control problems. One lets someone read data they should not be able to see without being logged in as the quiz owner, and the other lets a client act on behalf of another participant in a live session. I reproduced both locally (one against a real server and Postgres, one with a failing test).
I'm marking this critical and very important because it affects the fairness of live quizzes, which is the core thing the app does.
Why I'm not putting the details here
SECURITY.md asks us not to open public issues for vulnerabilities, so I'm keeping the exact endpoint and the steps out of this issue until there is a fix. I'll share them privately, along with the repro script and a suggested patch.
What I'd like to do
- Fix both with the smallest change that closes them (auth check on the read path, and verifying the participant on the ws side instead of trusting the id in the message).
- Add tests that fail now and pass after.
- Keep the existing client behaviour for legitimate users.
Request
- Could a maintainer assign this to me so I can open a PR once we agree on the approach?
- Please tell me where to send the details. Private reporting looks switched off on the repo, so either enable it (Settings > Security > Private vulnerability reporting) or tell me which channel you want, and I'll send it right away.
Thanks!
- Ngôn ngữ chính
- TypeScript
- Star
- 21
- Fork
- 7
- Merge trung bình
- 5 giờ 35 phút
- Pull request đã merge (30 ngày)
- 33
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TheCodeHeist-Coder/Rexial
-
bug good first issue help wanted UI & UX
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
TheCodeHeist-Coder/Rexial#178 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A participant's answer is silently lost when their connection dropsCó thể đã có người làm @Blazehue đã nhận 1 ngày trước. Đang mởbug help wanted level2 nsoc26 UI & UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
TheCodeHeist-Coder/Rexial#175 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug enhancement good first issue help wanted UI & UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TheCodeHeist-Coder/Rexial#162 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement help wanted UI & UX
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
TheCodeHeist-Coder/Rexial#201 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A host cannot see who won a quiz they already hostedCó thể đã có người làm @Harshit214713 đã nhận 2 ngày trước. Đang mởenhancement good first issue help wanted level2 nsoc26 UI & UX
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
TheCodeHeist-Coder/Rexial#200 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TheCodeHeist-Coder/Rexial
Issue tương tự
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Export the Hemi Earn Router address and the Router and Agent ABIs from `@vetro-protocol/earn`Đang mởhemi-earn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
vetro-protocol/vetro-monorepo#1043 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
stage 2: bare names resolve against PATH differently from the shell (empty and relative entries)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
STRML/omp-classifier#206 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
atlassian-labs/mermaid-diagrams-viewer#188 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dashboard enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Olanetsoft/agent-lookout#225 ·
Maintainer thường phản hồi trong vòng 1 ngày