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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getrebuild | rebuild | ≤ 4.5.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/getrebuild-rebuild-project-task-comment-idor third-party-advisory
- https://github.com/getrebuild/rebuild/blob/4.5.0/src/main/java/com/rebuild/web/project/TaskCommentController.java#L37-L62 technical-description
- VulnCheck Advisory: REBUILD through 4.5.0 Missing Authorization via /project/comments/list Endpoint third-party-advisory