Description
REBUILD through 4.5.0 contains a missing authorization vulnerability in TaskCommentController.commentList that allows authenticated low-privileged users to read task comments without project membership checks. Attackers can supply the id of a task in a private project to the /project/comments/list endpoint to retrieve its comment content and attachment references.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
getrebuild rebuild
Default version status: unaffected
0 to ≤ 4.5.0affected
pkg:github/getrebuild/rebuildReferences
- https://hackmd.io/@hieuPenguinnn/getrebuild-rebuild-project-task-comment-idor ↗
- https://github.com/getrebuild/rebuild/blob/4.5.0/src/main/java/com/rebuild/web/project/TaskCommentController.java#L37-L62 ↗
- https://www.vulncheck.com/advisories/rebuild-through-4.5.0-missing-authorization-via-project-comments-list-endpoint ↗