Habitat through 1.7.1 IDOR via Post Creation Attachment IDs
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| carlnewtonHabitat |
≤ 1.7.1→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Habitat through 1.7.1 contains an insecure direct object reference vulnerability in CreatePostController::addAttachmentsToPost() that allows authenticated users to claim other users' unposted image uploads. Email-verified attackers can submit sequential attachmentIds when creating a post to attach another user's pending image, exposing it publicly and removing it from the uploader's post.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- report github.com
- web github.com
- web github.com
- web github.com